forked from xfiveco/generator-chisel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.yml
More file actions
30 lines (28 loc) · 677 Bytes
/
Copy path.eslintrc.yml
File metadata and controls
30 lines (28 loc) · 677 Bytes
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
rules:
indent: ["warn", 2]
no-cond-assign: "warn"
no-empty: ["warn", {allowEmptyCatch: true}]
no-extra-semi: "warn"
no-irregular-whitespace: "warn"
no-unreachable: "warn"
curly: "warn"
no-eval: "warn"
no-floating-decimal: "warn"
no-global-assign: "warn"
no-magic-numbers: ["warn", {ignore: [-1, 0, 1]}]
no-octal: "warn"
no-redeclare: "warn"
no-unused-vars: "warn"
block-spacing: "warn"
brace-style: "warn"
comma-style: ["warn", "last"]
consistent-this: ["warn", "that"]
eol-last: "warn"
func-call-spacing: "warn"
no-trailing-spaces: "warn"
no-undef: "error"
env:
node: true
parserOptions:
sourceType: "module"
ecmaVersion: 6