mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 01:38:11 +08:00
Move .eslintignore file rules into .eslintrc.js
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
node_modules/
|
|
||||||
dist/
|
|
||||||
pkg/
|
|
||||||
wasm/pkg/*
|
|
||||||
!.*.js
|
|
||||||
!.*.ts
|
|
||||||
!.*.json
|
|
||||||
@@ -9,7 +9,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
settings: {
|
settings: {
|
||||||
"import/resolver": {
|
"import/resolver": {
|
||||||
// `node` must be listed first
|
// `node` must be listed first!
|
||||||
node: {},
|
node: {},
|
||||||
webpack: { config: require.resolve("@vue/cli-service/webpack.config.js") },
|
webpack: { config: require.resolve("@vue/cli-service/webpack.config.js") },
|
||||||
},
|
},
|
||||||
@@ -20,6 +20,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
ignorePatterns: ["node_modules/", "dist/", "pkg/", "wasm/pkg/*", "!.*.js", "!.*.ts", "!.*.json"],
|
||||||
rules: {
|
rules: {
|
||||||
indent: ["error", "tab", { SwitchCase: 1 }],
|
indent: ["error", "tab", { SwitchCase: 1 }],
|
||||||
quotes: ["error", "double"],
|
quotes: ["error", "double"],
|
||||||
|
|||||||
Reference in New Issue
Block a user