Blame view

js/.eslintrc.yml 1 KB
10dee819   Nathanael Jourdane   clean JobsMgr and...
1
2
3
4
5
6
7
8
9
env:
  browser: true
extends: 'eslint:all'
globals:
  Ext: true
plugins:
  - extjs
rules:
  indent: [error, 2, SwitchCase: 1]
34d41fb3   Nathanaël Jourdane   Fix eslint warnings
10
  semi: [error, always]
10dee819   Nathanael Jourdane   clean JobsMgr and...
11
  max-len: [error, code: 120]
34d41fb3   Nathanaël Jourdane   Fix eslint warnings
12
  max-lines: [warn, 600]
c713e292   Nathanaël Jourdane   fix eslint warnings
13
14
15
16
17
  max-params: [warn, 3]
  complexity: [warn, 20]
  no-ternary: off
  no-plusplus: off
  multiline-ternary: off
10dee819   Nathanael Jourdane   clean JobsMgr and...
18
19
20
21
22
  linebreak-style: [error, unix]
  quotes: [error, single]
  strict: [error, global]
  quote-props: [error, as-needed]
  max-statements: [warn, 20]
10dee819   Nathanael Jourdane   clean JobsMgr and...
23
24
  consistent-this: [error, me]
  padded-blocks: off
34d41fb3   Nathanaël Jourdane   Fix eslint warnings
25
  newline-per-chained-call: [error, ignoreChainWithDepth: 3]
10dee819   Nathanael Jourdane   clean JobsMgr and...
26
27
28
29
30
31
32
33
  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
c713e292   Nathanaël Jourdane   fix eslint warnings
34
35
36
  no-extra-parens: [error, all, nestedBinaryExpressions: false]
  camelcase: warn
  max-depth: warn
10dee819   Nathanael Jourdane   clean JobsMgr and...
37
38
39
40
41
42
43

# ES3/5 compatibility:
  prefer-template: off
  no-var: off
  prefer-arrow-callback: off
  object-shorthand: off
  prefer-rest-params: off
c713e292   Nathanaël Jourdane   fix eslint warnings
44
  prefer-destructuring: off