spreed/.eslintrc.yml

32 строки
472 B
YAML

root: true
extends:
- eslint:recommended
env:
browser: true
amd: true
globals:
$: false
escapeHTML: false
OC: false
OCA: false
t: false
Backbone: false
_: false
Clipboard: false
oc_defaults: false
Hashes: false
rules:
curly: error
eqeqeq: ["error", "smart"]
guard-for-in: error
no-console: off
no-fallthrough: error
no-mixed-spaces-and-tabs: error
no-unused-vars: error
no-use-before-define: error
semi: ["error", "always"]