observatory-cli/.eslintrc.yml

36 строки
616 B
YAML

env:
browser: true
es6: true
node: true
extends:
- eslint:recommended
- plugin:node/recommended
plugins:
- node
- promise
root: true
rules:
comma-dangle: off
curly: warn
eol-last: error
eqeqeq: error
handle-callback-err: error
indent: [error, 2, {SwitchCase: 1}]
no-console: off
no-multi-spaces: error
no-unused-vars: [error, {vars: all, args: none}]
one-var: [error, never]
quotes: [error, double]
semi: [error, always]
node/no-unpublished-bin: error
promise/param-names: error
promise/always-return: error
promise/catch-or-return: error
promise/no-native: off