12345678910111213141516171819202122232425262728293031323334353637 |
- extends: "eslint:recommended"
- parserOptions:
- ecmaVersion: 8
- sourceType: "module"
- 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"
|