Move .eslintignore file rules into .eslintrc.js

This commit is contained in:
Keavon Chambers committed 2021-05-17 18:56:41 -07:00
1 parent b20addaaaf
commit 81effa550f
2 files changed
+2 -8

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
node_modules/
dist/
pkg/
wasm/pkg/*
!.*.js
!.*.ts
!.*.json
+2 -1
View File
@@ -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"],