mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +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: {
|
||||
"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"],
|
||||
|
||||
Reference in New Issue
Block a user