[SignalingServer] Optimize dependent modules
[platform/framework/web/wrtjs.git] / signaling_server / service / node_modules / pngjs / .eslintrc.json
1 {
2     "rules": {
3         "no-alert": "error",
4         "no-array-constructor": "off",
5         "no-bitwise": "off",
6         "no-caller": "error",
7         "no-catch-shadow": "error",
8         "no-class-assign": "error",
9         "no-cond-assign": "error",
10         "no-console": "error",
11         "no-const-assign": "error",
12         "no-constant-condition": "error",
13         "no-continue": "off",
14         "no-control-regex": "error",
15         "no-debugger": "error",
16         "no-delete-var": "error",
17         "no-div-regex": "off",
18         "no-dupe-keys": "error",
19         "no-dupe-args": "error",
20         "no-duplicate-case": "error",
21         "no-else-return": "error",
22         "no-empty": "error",
23         "no-empty-character-class": "error",
24         "no-eq-null": "off",
25         "no-eval": "error",
26         "no-ex-assign": "error",
27         "no-extend-native": "error",
28         "no-extra-bind": "error",
29         "no-extra-boolean-cast": "error",
30         "no-extra-parens": "off",
31         "no-extra-semi": "error",
32         "no-fallthrough": "error",
33         "no-floating-decimal": "error",
34         "no-func-assign": "error",
35         "no-implicit-coercion": "error",
36         "no-implied-eval": "error",
37         "no-inline-comments": "off",
38         "no-inner-declarations": ["error", "functions"],
39         "no-invalid-regexp": "error",
40         "no-invalid-this": "error",
41         "no-irregular-whitespace": "error",
42         "no-iterator": "error",
43         "no-label-var": "error",
44         "no-labels": "error",
45         "no-lone-blocks": "error",
46         "no-lonely-if": "error",
47         "no-loop-func": "error",
48         "no-mixed-requires": ["error", false],
49         "no-mixed-spaces-and-tabs": ["error", false],
50         "linebreak-style": ["off", "unix"],
51         "no-multi-spaces": "error",
52         "no-multi-str": "off",
53         "no-multiple-empty-lines": ["error", {"max": 2}],
54         "no-native-reassign": "error",
55         "no-negated-in-lhs": "error",
56         "no-nested-ternary": "error",
57         "no-new": "error",
58         "no-new-func": "error",
59         "no-new-object": "error",
60         "no-new-require": "error",
61         "no-new-wrappers": "error",
62         "no-obj-calls": "error",
63         "no-octal": "error",
64         "no-octal-escape": "off",
65         "no-param-reassign": "off",
66         "no-path-concat": "off",
67         "no-plusplus": "off",
68         "no-process-env": "off",
69         "no-process-exit": "off",
70         "no-proto": "off",
71         "no-redeclare": "error",
72         "no-regex-spaces": "error",
73         "no-restricted-modules": "off",
74         "no-return-assign": "error",
75         "no-script-url": "off",
76         "no-self-compare": "error",
77         "no-sequences": "error",
78         "no-shadow": "error",
79         "no-shadow-restricted-names": "error",
80         "no-spaced-func": "error",
81         "no-sparse-arrays": "error",
82         "no-sync": "off",
83         "no-ternary": "off",
84         "no-trailing-spaces": "error",
85         "no-this-before-super": "error",
86         "no-throw-literal": "error",
87         "no-undef": "error",
88         "no-undef-init": "error",
89         "no-undefined": "off",
90         "no-unexpected-multiline": "error",
91         "no-underscore-dangle": "off",
92         "no-unneeded-ternary": "off",
93         "no-unreachable": "error",
94         "no-unused-expressions": "error",
95         "no-unused-vars": ["error", {"vars": "all", "args": "after-used"}],
96         "no-use-before-define": "error",
97         "no-useless-call": "error",
98         "no-void": "off",
99         "no-var": "off",
100         "no-warning-comments": ["error", { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
101         "no-with": "error",
102
103         "array-bracket-spacing": ["error", "never"],
104         "arrow-parens": "error",
105         "arrow-spacing": "error",
106         "accessor-pairs": "error",
107         "block-scoped-var": "off",
108         "brace-style": ["error", "stroustrup"],
109         "callback-return": ["error", ["callback", "cb", "next"]],
110         "camelcase": ["error", {"properties": "always"}],
111         "comma-dangle": ["error", "never"],
112         "comma-spacing": "error",
113         "comma-style": "error",
114         "complexity": "off",
115         "computed-property-spacing": ["off", "never"],
116         "consistent-return": "off",
117         "consistent-this": ["off", "that"],
118         "constructor-super": "error",
119         "curly": ["error", "all"],
120         "default-case": "error",
121         "dot-location": ["error", "property"],
122         "dot-notation": ["error", { "allowKeywords": true }],
123         "eol-last": "off",
124         "eqeqeq": ["error", "smart"],
125         "func-names": "off",
126         "func-style": ["off", "declaration"],
127         "generator-star-spacing": "off",
128         "guard-for-in": "error",
129         "handle-callback-err": "error",
130         "id-length": ["error", {"min": 3, "max": 25, "exceptions":["x", "y", "i", "j", "ex", "up"]}],
131         "indent": ["error", 2, {"SwitchCase": 1}],
132         "init-declarations": "off",
133         "key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
134         "keyword-spacing": "error",
135         "lines-around-comment": "off",
136         "max-depth": ["error", 6],
137         "max-len": ["error", { "code": 160 }],
138         "max-nested-callbacks": ["error", 1],
139         "max-params": ["error", 6],
140         "max-statements": "off",
141         "new-cap": "error",
142         "new-parens": "error",
143         "newline-after-var": "off",
144         "object-curly-spacing": ["error", "always"],
145         "object-shorthand": "off",
146         "one-var": ["error", {
147             "initialized": "never"
148         }],
149         "operator-assignment": ["off", "always"],
150         "operator-linebreak": ["error", "after"],
151         "padded-blocks": "off",
152         "prefer-const": "off",
153         "prefer-spread": "off",
154         "prefer-reflect": "off",
155         "quote-props": "off",
156         "quotes": ["error", "single"],
157         "radix": "off",
158         "id-match": "off",
159         "require-yield": "off",
160         "semi": ["error", "always"],
161         "semi-spacing": ["error", {"before": false, "after": true}],
162         "sort-vars": "off",
163         "space-before-blocks": ["error", "always"],
164         "space-before-function-paren": ["error", "never"],
165         "space-in-parens": ["error", "never"],
166         "space-infix-ops": "error",
167         "space-unary-ops": ["error", { "words": true, "nonwords": false }],
168         "spaced-comment": "off",
169         "strict": ["error", "global"],
170         "use-isnan": "error",
171         "valid-jsdoc": "off",
172         "valid-typeof": "error",
173         "vars-on-top": "off",
174         "wrap-iife": "off",
175         "wrap-regex": "off",
176         "yoda": ["off", "never"]
177     },
178     "env": {
179         "node": true,
180             "es6": true
181     }
182 }