mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Fix ESLint configuration triggering an error in the ESLint VS Code extension
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = {
|
||||
],
|
||||
rules: {
|
||||
// Standard ESLint config
|
||||
indent: ["error", "tab", { SwitchCase: 1 }],
|
||||
indent: "off",
|
||||
quotes: ["error", "double"],
|
||||
camelcase: ["error", { properties: "always" }],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
@@ -67,6 +67,7 @@ module.exports = {
|
||||
"no-use-before-define": "off",
|
||||
|
||||
// TypeScript plugin config
|
||||
"@typescript-eslint/indent": ["error", "tab", { SwitchCase: 1 }],
|
||||
"@typescript-eslint/camelcase": "off",
|
||||
"@typescript-eslint/no-use-before-define": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
||||
|
||||
Reference in New Issue
Block a user