-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.yml
68 lines (68 loc) · 1.2 KB
/
.eslintrc.yml
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
59
60
61
62
63
64
65
66
67
68
# This configuration is intended to replace the legacy .eslintrc and applies
# only to Webpack-compiled JavaScript in app/javascript and spec/javascript
extends:
- eslint:recommended
- google
- plugin:vue/recommended
plugins:
- import
env:
browser: true
node: true
es6: true
parserOptions:
parser: babel-eslint
sourceType: module
ecmaVersion: 6
globals:
$: true
afterAll: true
afterEach: true
beforeAll: true
beforeEach: true
clearInterval: true
clearTimeout: true
console: true
describe: true
expect: true
it: true
xit: true
jasmine: true
setInterval: true
setTimeout: true
spyOn: true
spyOnProperty: true
window: true
rules:
arrow-parens:
- warn
- as-needed
- requireForBlockBody: true
key-spacing:
- warn
- mode: minimum
max-len:
- off
- 80
new-cap: off
no-multi-spaces:
- warn
- exceptions:
Property: true
SwitchCase: true
VariableDeclarator: true
no-console:
- warn
object-curly-spacing:
- warn
- never
one-var: off
require-jsdoc: off
semi:
- warn
- never
vue/html-self-closing: off
vue/max-attributes-per-line: off
vue/attribute-hyphenation: [2, 'never']
vue/html-indent:
- ignores: [script]