forked from rollup/rollup-plugin-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
38 lines (34 loc) · 892 Bytes
/
.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
root: true
env:
es6: true
browser: true
node: true
mocha: true
parserOptions:
ecmaVersion: 6
sourceType: "module"
extends: "eslint:recommended"
rules:
indent: [ 2, "tab", { SwitchCase: 1 } ]
semi: [ 2, "always" ]
keyword-spacing: [ 2, { before: true, after: true } ]
space-before-blocks: [ 2, "always" ]
space-before-function-paren: [ 2, "always" ]
no-mixed-spaces-and-tabs: [ 2, "smart-tabs" ]
no-cond-assign: 0
no-unused-vars: 2
object-shorthand: [ 2, "always" ]
no-const-assign: 2
no-class-assign: 2
no-this-before-super: 2
no-var: 2
no-unreachable: 2
valid-typeof: 2
quote-props: [ 2, "as-needed" ]
one-var: [ 2, "never" ]
prefer-arrow-callback: 2
prefer-const: [ 2, { destructuring: "all" } ]
arrow-spacing: 2
no-irregular-whitespace: 0
no-console: 0
no-debugger: 0