niViz

niViz Git Source Tree

Root/.eslintrc

1{
2 "env": {
3 "browser": true,
4 "node": true,
5 "amd": false,
6 "mocha": true,
7 "jasmine": false
8 },
9
10 "globals": {
11 "angular": true,
12 "jQuery": true,
13 "expect": true,
14 "inject": true,
15 "fixtures": true,
16 "sinon": true,
17 "Sizzle": true,
18 "moment": true,
19 "niviz": true,
20 "Snap": true,
21 "mina": true,
22 "canvg": true
23 },
24
25 "rules": {
26 "no-alert": 2,
27 "no-array-constructor": 2,
28 "no-bitwise": 0,
29 "no-caller": 2,
30 "no-catch-shadow": 2,
31 "comma-dangle": 2,
32 "no-cond-assign": 2,
33 "no-console": 0,
34 "no-constant-condition": 2,
35 "no-control-regex": 2,
36 "no-debugger": 2,
37 "no-delete-var": 2,
38 "no-div-regex": 0,
39 "no-dupe-keys": 2,
40 "no-else-return": 0,
41 "no-empty": 1,
42 "no-empty-character-class": 2,
43 "no-empty-label": 2,
44 "no-eq-null": 0,
45 "no-eval": 2,
46 "no-ex-assign": 2,
47 "no-extend-native": 2,
48 "no-extra-bind": 2,
49 "no-extra-boolean-cast": 2,
50 "no-extra-parens": 0,
51 "no-extra-semi": 2,
52 "strict": 2,
53 "no-fallthrough": 2,
54 "no-floating-decimal": 0,
55 "no-func-assign": 2,
56 "no-implied-eval": 2,
57 "no-inner-declarations": [2, "functions"],
58 "no-invalid-regexp": 2,
59 "no-irregular-whitespace": 2,
60 "no-iterator": 2,
61 "no-label-var": 2,
62 "no-labels": 2,
63 "no-lone-blocks": 2,
64 "no-lonely-if": 0,
65 "no-loop-func": 2,
66 "no-mixed-requires": [0, false],
67 "no-mixed-spaces-and-tabs": [2, false],
68 "no-multi-spaces": 0,
69 "no-multi-str": 2,
70 "no-multiple-empty-lines": [0, {"max": 2}],
71 "no-native-reassign": 2,
72 "no-negated-in-lhs": 2,
73 "no-nested-ternary": 0,
74 "no-new": 2,
75 "no-new-func": 2,
76 "no-new-object": 2,
77 "no-new-require": 0,
78 "no-new-wrappers": 2,
79 "no-obj-calls": 2,
80 "no-octal": 2,
81 "no-octal-escape": 2,
82 "no-path-concat": 0,
83 "no-plusplus": 0,
84 "no-process-env": 0,
85 "no-process-exit": 2,
86 "no-proto": 2,
87 "no-redeclare": 2,
88 "no-regex-spaces": 2,
89 "no-reserved-keys": 0,
90 "no-restricted-modules": 0,
91 "no-return-assign": 2,
92 "no-script-url": 2,
93 "no-self-compare": 0,
94 "no-sequences": 2,
95 "no-shadow": 2,
96 "no-shadow-restricted-names": 2,
97 "semi-spacing": 2,
98 "no-spaced-func": 2,
99 "no-sparse-arrays": 2,
100 "no-sync": 0,
101 "no-ternary": 0,
102 "no-trailing-spaces": 2,
103 "no-undef": 2,
104 "no-undef-init": 2,
105 "no-undefined": 0,
106 "no-underscore-dangle": 0,
107 "no-unreachable": 2,
108 "no-unused-expressions": 0,
109 "no-unused-vars": [1, {"vars": "all", "args": "none"}],
110 "no-use-before-define": 0,
111 "no-void": 0,
112 "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
113 "no-with": 2,
114
115 "block-scoped-var": 0,
116 "brace-style": [1, "1tbs", { "allowSingleLine": true }],
117 "camelcase": 0,
118 "comma-spacing": 2,
119 "comma-style": 0,
120 "complexity": [1, 11],
121 "consistent-return": 2,
122 "consistent-this": [0, "that"],
123 "curly": [0, "all"],
124 "default-case": 0,
125 "dot-notation": 0,
126 "eol-last": 2,
127 "eqeqeq": 2,
128 "func-names": 0,
129 "func-style": [0, "declaration"],
130 "global-strict": 0,
131 "guard-for-in": 0,
132 "handle-callback-err": 0,
133 "key-spacing": [0, { "beforeColon": false, "afterColon": true }],
134 "max-depth": [1, 8],
135 "max-len": [1, 96, 2],
136 "max-nested-callbacks": [0, 2],
137 "max-params": [0, 3],
138 "max-statements": [0, 10],
139 "new-cap": 0,
140 "new-parens": 2,
141 "one-var": 0,
142 "padded-blocks": 0,
143 "quote-props": 0,
144 "quotes": [2, "single", "avoid-escape"],
145 "radix": 0,
146 "semi": 2,
147 "sort-vars": 0,
148 "space-after-keywords": [0, "always"],
149 "space-before-blocks": [0, "always"],
150 "space-in-brackets": [0, "never"],
151 "space-in-parens": [0, "never"],
152 "space-infix-ops": 2,
153 "space-return-throw-case": 2,
154 "space-unary-word-ops": 0,
155 "spaced-line-comment": [0, "always"],
156 "strict": 2,
157 "use-isnan": 2,
158 "valid-jsdoc": 0,
159 "valid-typeof": 2,
160 "vars-on-top": 0,
161 "wrap-iife": 0,
162 "wrap-regex": 0,
163 "yoda": [2, "never"]
164 }
165}

Archive Download this file

Branches