forked from SnosMe/awakened-poe-trade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
37 lines (37 loc) · 1.19 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
module.exports = {
root: true,
env: {
node: true
},
plugins: [
'@typescript-eslint',
'only-warn'
],
extends: [
'plugin:vue/base',
'standard-with-typescript'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
// 'spaced-comment': ['error', 'always', { markers: ['#region'], exceptions: ['#endregion'] }],
'quote-props': ['error', 'consistent-as-needed'],
// '@typescript-eslint/no-use-before-define': 'off',
// 'vue/no-mutating-props': 'off',
// '@typescript-eslint/member-delimiter-style': 'off',
// '@typescript-eslint/camelcase': 'off',
// '@typescript-eslint/no-inferrable-types': 'off',
// 'vue/no-deprecated-v-on-native-modifier': 'off',
// 'vue/no-deprecated-filter': 'off',
// 'vue/no-deprecated-slot-attribute': 'off',
// 'no-unused-vars': 'off',
// '@typescript-eslint/no-non-null-assertion': 'off'
},
parserOptions: {
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.vue'],
project: './tsconfig.json'
}
}