.eslintrc.yml
787 Bytes
env:
browser: true
extends: 'eslint:all'
globals:
Ext: true
plugins:
- extjs
rules:
indent: [error, 2, SwitchCase: 1]
semi: [error, always]
max-len: [error, code: 120]
max-lines: [warn, 600]
linebreak-style: [error, unix]
quotes: [error, single]
strict: [error, global]
quote-props: [error, as-needed]
max-statements: [warn, 20]
consistent-this: [error, me]
padded-blocks: off
newline-per-chained-call: [error, ignoreChainWithDepth: 3]
no-warning-comments: off
func-names: off
function-paren-newline: off
init-declarations: off
sort-keys: off
id-length: off
no-magic-numbers: off
no-invalid-this: off
# ES3/5 compatibility:
prefer-template: off
no-var: off
prefer-arrow-callback: off
object-shorthand: off
prefer-rest-params: off