forked from website-scraper/node-website-scraper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
35 lines (35 loc) · 883 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
extends: "eslint:recommended"
parserOptions:
ecmaVersion: 8
env:
node: true
es6: true
rules:
consistent-return: "error"
curly: "error"
default-case: "error"
dot-notation: "error"
eqeqeq: "error"
no-extend-native: "error"
no-implicit-coercion: "error"
no-loop-func: "error"
no-multi-spaces: "error"
no-throw-literal: "error"
global-require: "error"
no-path-concat: "error"
brace-style: ["error", "1tbs", {allowSingleLine: true}]
camelcase: "error"
consistent-this: ["error", "self"]
indent: ["error", "tab", {SwitchCase: 1}]
linebreak-style: ["error", "unix"]
eol-last: "error"
quotes: ["error", "single"]
semi: "error"
space-infix-ops: "error"
space-unary-ops: "error"
func-names: "warn"
space-before-function-paren: "warn"
no-spaced-func: "warn"
keyword-spacing: "error"
space-before-blocks: "error"
no-console: "error"