mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 23:38:11 +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: {
|
rules: {
|
||||||
// Standard ESLint config
|
// Standard ESLint config
|
||||||
indent: ["error", "tab", { SwitchCase: 1 }],
|
indent: "off",
|
||||||
quotes: ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
camelcase: ["error", { properties: "always" }],
|
camelcase: ["error", { properties: "always" }],
|
||||||
"linebreak-style": ["error", "unix"],
|
"linebreak-style": ["error", "unix"],
|
||||||
@@ -67,6 +67,7 @@ module.exports = {
|
|||||||
"no-use-before-define": "off",
|
"no-use-before-define": "off",
|
||||||
|
|
||||||
// TypeScript plugin config
|
// TypeScript plugin config
|
||||||
|
"@typescript-eslint/indent": ["error", "tab", { SwitchCase: 1 }],
|
||||||
"@typescript-eslint/camelcase": "off",
|
"@typescript-eslint/camelcase": "off",
|
||||||
"@typescript-eslint/no-use-before-define": "off",
|
"@typescript-eslint/no-use-before-define": "off",
|
||||||
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
||||||
|
|||||||
Reference in New Issue
Block a user