forked from ItsOnlyBinary/kiwiirc-plugin-asl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
51 lines (51 loc) · 1.41 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
root: true,
parserOptions: {
parser: 'babel-eslint',
sourceType: 'module'
},
extends: [
'airbnb-base',
'plugin:vue/recommended',
'standard'
],
env: {
'browser': true,
},
// required to lint *.vue files
plugins: [
'vue',
],
// add your custom rules here
'rules': {
'class-methods-use-this': 0,
'comma-dangle': ['error', {
'arrays': 'always-multiline',
'objects': 'always-multiline',
'imports': 'never',
'exports': 'never',
'functions': 'ignore'
}],
'import/extensions': 0,
'import/no-extraneous-dependencies': 0,
'import/no-unresolved': 0,
'import/prefer-default-export': 0,
'indent': ['error', 4],
'no-continue': 0,
'no-multi-assign': 0,
'no-param-reassign': ['error', { 'props': false }],
'no-plusplus': 0,
'no-prototype-builtins': 0,
'prefer-promise-reject-errors': 0,
'no-control-regex': 0,
'object-shorthand': 0,
'operator-linebreak': 0,
'prefer-const': 0,
'prefer-destructuring': 0,
'prefer-template': 0,
'semi': ['error', 'always'],
'space-before-function-paren': ['error', 'never'],
'vue/html-indent': ['error', 4],
'vue/max-attributes-per-line': 0,
}
}