forked from technologiespro/paper-wallet-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 902 Bytes
/
.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
module.exports = {
root: true,
env: {
"browser": true,
"node": true,
"es6": true,
},
extends: [
'plugin:vue/essential'
],
rules: {
"no-multiple-empty-lines": [2, { "max": 2, "maxEOF": 1 }],
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'global-require': 'off',
'no-new': 0, // Intrusive when using Chart.js instances.
'no-underscore-dangle': 0, // Chart.js uses underscore dangles (_) internally.
'import/no-unresolved': 0, // False positives regarding imports that use aliases.
'vue/component-name-in-template-casing': ['warn', 'PascalCase', {
'ignores': ['i18n']
}]
},
overrides: [
{
files: ['*.vue'],
rules: {
'max-len': 'off',
},
},
],
parserOptions: {
parser: 'babel-eslint',
},
};