forked from Bahmni/openmrs-module-bahmniapps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
67 lines (62 loc) · 1.33 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
ecmaFeatures:
modules: true
jsx: true
env:
amd: true
browser: true
es6: true
jquery: true
node: true
extends:
- semistandard
- angular
globals:
Bahmni: true
CryptoJS: false
EncounterConfig: true
FastClick: false
Modernizr: false
_: false
angular: false
c3: false
d3: false
defaults: true
describe: false
expect: false
it: false
keyboardJS: false
lf: false
moment: false
purl: false
window: false
rules:
angular/controller-as: off
angular/di: [error, array]
indent: [error, 4]
quotes: off
# The following are set to 'warn' level until they can be fixed
# They're sorted in ascending order of the number of issues
brace-style: warn
angular/no-private-call: warn
angular/no-services: warn
angular/typecheck-object: warn
angular/typecheck-function: warn
angular/document-service: warn
no-redeclare: warn
operator-linebreak: warn
angular/controller-as-route: warn
object-property-newline: warn
no-useless-escape: warn
angular/on-watch: warn
no-unused-vars: warn
no-undef: warn
one-var: warn
angular/log: warn
angular/window-service: warn
standard/object-curly-even-spacing: warn
no-unneeded-ternary: warn
angular/angularelement: warn
angular/json-functions: warn
angular/no-service-method: warn
angular/definedundefined: warn
eqeqeq: [warn, smart]