-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
58 lines (58 loc) · 1007 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module.exports = {
extends: [
'plugin:vue/strongly-recommended',
'@vue/standard'
],
plugins: [
'vue',
'@babel'
],
parserOptions: {
parser: '@babel/eslint-parser',
babelOptions: {
rootMode: 'upward'
}
},
env: {
node: true
},
globals: {
TNS_APP_MODE: true,
TNS_APP_PLATFORM: true,
TNS_ENV: true,
android: true
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
'prefer-promise-reject-errors': [
'error',
{
'allowEmptyReject': true
}
],
'vue/require-valid-default-prop': 'off',
'vue/require-default-prop': 'off',
'vue/valid-template-root': 'off',
'indent': [
'error',
2
],
'one-var': [
'error',
{
'var': 'never',
'let': 'never',
'const': 'never'
}
],
'semi': [
2,
'never'
],
'arrow-parens': 0,
'generator-star-spacing': 'off',
'no-new': 0,
'no-fallthrough': 'off'
}
}