-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.js
31 lines (31 loc) · 842 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
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: ['prettier', 'airbnb-base', 'plugin:prettier/recommended'],
plugins: ['prettier'],
ignorePatterns: [
'**/bundle-devel/*.js',
'/heckheating/*',
'/node_modules/*',
],
// add your custom rules here
rules: {
// let prettier handle this stuff, it does it better
indent: ['off', 4],
'max-len': [
'off',
{
code: 80,
ignoreRegExpLiterals: true,
ignoreTemplateLiterals: true,
ignoreStrings: true,
ignoreTrailingComments: true,
ignoreUrls: true,
ignorePattern: '^(\\s+)?.+=".+"', // HTML strings in Vue
},
],
},
};