-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
39 lines (38 loc) · 978 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
35
36
37
38
39
// ===============================================================
// Airbnb JavaScript Style Guide
// https://github.com/airbnb/javascript
// https://github.com/walmartlabs/eslint-config-defaults
// http://eslint.org/docs/rules/
// ===============================================================
module.exports = {
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
'plugin:import/typescript',
'plugin:vue/essential',
'@vue/typescript',
],
env: {
node: true,
browser: true,
},
rules: {
'no-multi-assign': 0,
'max-len': 1,
'import/no-extraneous-dependencies': 1,
'import/no-named-as-default': 0,
'import/no-unresolved': [2, { ignore: ['vue-fa'] }],
'import/extensions': [
2,
'ignorePackages',
{
js: 'never',
jsx: 'never',
ts: 'never',
tsx: 'never',
},
],
'vue/require-default-prop': 0,
'vue/multi-word-component-names': 0,
},
};