Skip to content

Commit 4349370

Browse files
committed
fix: updated eslint config and npm packages
1 parent cd94519 commit 4349370

9 files changed

+5545
-13352
lines changed

.eslintrc.js

+1-51
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,3 @@
1-
/* eslint-env node */
2-
require('@rushstack/eslint-patch/modern-module-resolution')
3-
41
module.exports = {
5-
root: true,
6-
env: {
7-
es2021: true,
8-
browser: true,
9-
node: true
10-
},
11-
extends: [
12-
'plugin:vue/vue3-recommended',
13-
'@vue/eslint-config-typescript/recommended',
14-
'plugin:prettier-vue/recommended',
15-
'prettier'
16-
],
17-
parserOptions: {
18-
ecmaVersion: 2021
19-
},
20-
plugins: ['html'],
21-
ignorePatterns: ['**/node_modules/**', '{tmp,temp}/**', '**/*.min.js', 'vendor/**', 'dist/**', 'public/**'],
22-
overrides: [
23-
{
24-
files: ['*.json'],
25-
rules: {
26-
quotes: [2, 'double']
27-
}
28-
},
29-
{
30-
files: ['*.vue'],
31-
parser: 'vue-eslint-parser',
32-
parserOptions: {
33-
parser: '@typescript-eslint/parser'
34-
}
35-
},
36-
{
37-
files: ['**/*.spec.{j,t}s?(x)'],
38-
env: {
39-
jest: true
40-
}
41-
}
42-
],
43-
rules: {
44-
// Console and debugger settings depending whether we're on production or not
45-
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
46-
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
47-
48-
// 'vue/no-export-in-script-setup': 'off',
49-
50-
// '@typescript-eslint/no-unused-vars': 'off',
51-
// 'no-unused-vars': 'off'
52-
}
2+
extends: ['eslint-config-kouts/vue3-typescript']
533
}

0 commit comments

Comments
 (0)