mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Move .eslintignore file rules into .eslintrc.js
This commit is contained in:
parent
b20addaaaf
commit
81effa550f
2 changed files with 2 additions and 8 deletions
|
|
@ -1,7 +0,0 @@
|
|||
node_modules/
|
||||
dist/
|
||||
pkg/
|
||||
wasm/pkg/*
|
||||
!.*.js
|
||||
!.*.ts
|
||||
!.*.json
|
||||
|
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
},
|
||||
settings: {
|
||||
"import/resolver": {
|
||||
// `node` must be listed first
|
||||
// `node` must be listed first!
|
||||
node: {},
|
||||
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: {
|
||||
indent: ["error", "tab", { SwitchCase: 1 }],
|
||||
quotes: ["error", "double"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue