OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 22 matching lines...) Expand all Loading... |
33 "block-scoped-var": "error", | 33 "block-scoped-var": "error", |
34 "block-spacing": "error", | 34 "block-spacing": "error", |
35 "brace-style": ["error", "allman", {allowSingleLine: true}], | 35 "brace-style": ["error", "allman", {allowSingleLine: true}], |
36 "camelcase": ["error", {properties: "never"}], | 36 "camelcase": ["error", {properties: "never"}], |
37 "comma-dangle": "error", | 37 "comma-dangle": "error", |
38 "comma-spacing": "error", | 38 "comma-spacing": "error", |
39 "comma-style": "error", | 39 "comma-style": "error", |
40 "computed-property-spacing": "error", | 40 "computed-property-spacing": "error", |
41 "eol-last": "error", | 41 "eol-last": "error", |
42 "func-call-spacing": "error", | 42 "func-call-spacing": "error", |
43 "indent": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}], | 43 "indent-legacy": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}], |
44 "key-spacing": "error", | 44 "key-spacing": "error", |
45 "keyword-spacing": "error", | 45 "keyword-spacing": "error", |
46 "linebreak-style": "error", | 46 "linebreak-style": "error", |
47 "lines-around-directive": "error", | 47 "lines-around-directive": "error", |
48 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}], | 48 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}], |
49 "new-parens": "error", | 49 "new-parens": "error", |
50 "no-array-constructor": "error", | 50 "no-array-constructor": "error", |
51 "no-caller": "error", | 51 "no-caller": "error", |
52 "no-case-declarations": "off", | 52 "no-case-declarations": "off", |
53 "no-catch-shadow": "error", | 53 "no-catch-shadow": "error", |
54 "no-cond-assign": "off", | 54 "no-cond-assign": "off", |
55 "no-console": ["error", {allow: ["warn", "error", "trace"]}], | 55 "no-console": ["error", {allow: ["warn", "error", "trace"]}], |
56 "no-constant-condition": ["error", {checkLoops: false}], | 56 "no-constant-condition": ["error", {checkLoops: false}], |
57 "no-control-regex": "off", | 57 "no-control-regex": "off", |
58 "no-else-return": "error", | 58 "no-else-return": "error", |
59 "no-empty": "off", | 59 "no-empty": "off", |
60 "no-eval": "error", | 60 "no-eval": "error", |
61 "no-extra-bind": "error", | 61 "no-extra-bind": "error", |
62 "no-extra-label": "error", | 62 "no-extra-label": "error", |
63 "no-implied-eval": "error", | 63 "no-implied-eval": "error", |
64 "no-labels": ["error", {allowLoop: true}], | 64 "no-labels": ["error", {allowLoop: true}], |
65 "no-lone-blocks": "error", | 65 "no-lone-blocks": "error", |
66 "no-lonely-if": "error", | 66 "no-lonely-if": "error", |
67 "no-multi-spaces": "error", | 67 "no-multi-spaces": ["error", {ignoreEOLComments: true}], |
68 "no-new-func": "error", | 68 "no-new-func": "error", |
69 "no-new-object": "error", | 69 "no-new-object": "error", |
70 "no-proto": "error", | 70 "no-proto": "error", |
71 "no-self-compare": "error", | 71 "no-self-compare": "error", |
72 "no-shadow": "error", | 72 "no-shadow": "error", |
73 "no-trailing-spaces": "error", | 73 "no-trailing-spaces": "error", |
74 "no-unneeded-ternary": "error", | 74 "no-unneeded-ternary": "error", |
75 "no-unused-vars": ["error", {vars: "local", args: "none"}], | 75 "no-unused-vars": ["error", {vars: "local", args: "none"}], |
76 "no-useless-computed-key": "error", | 76 "no-useless-computed-key": "error", |
77 "no-useless-concat": "error", | 77 "no-useless-concat": "error", |
(...skipping 30 matching lines...) Expand all Loading... |
108 "strict": ["error", "global"], | 108 "strict": ["error", "global"], |
109 "valid-jsdoc": ["error", { | 109 "valid-jsdoc": ["error", { |
110 requireParamDescription: false, | 110 requireParamDescription: false, |
111 requireReturn: false, | 111 requireReturn: false, |
112 requireReturnDescription: false | 112 requireReturnDescription: false |
113 }], | 113 }], |
114 "yield-star-spacing": "error", | 114 "yield-star-spacing": "error", |
115 "yoda": "error" | 115 "yoda": "error" |
116 } | 116 } |
117 }; | 117 }; |
OLD | NEW |