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 25 matching lines...) Expand all Loading... |
36 "comma-style": "error", | 36 "comma-style": "error", |
37 "computed-property-spacing": "error", | 37 "computed-property-spacing": "error", |
38 "curly": ["error", "multi-or-nest"], | 38 "curly": ["error", "multi-or-nest"], |
39 "eol-last": "error", | 39 "eol-last": "error", |
40 "func-call-spacing": "error", | 40 "func-call-spacing": "error", |
41 "indent": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}], | 41 "indent": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}], |
42 "key-spacing": "error", | 42 "key-spacing": "error", |
43 "keyword-spacing": "error", | 43 "keyword-spacing": "error", |
44 "linebreak-style": "error", | 44 "linebreak-style": "error", |
45 "lines-around-directive": "error", | 45 "lines-around-directive": "error", |
46 "max-len": ["error", 80, {ignoreUrls: true}], | 46 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}], |
47 "new-parens": "error", | 47 "new-parens": "error", |
48 "no-array-constructor": "error", | 48 "no-array-constructor": "error", |
49 "no-caller": "error", | 49 "no-caller": "error", |
50 "no-case-declarations": "off", | 50 "no-case-declarations": "off", |
51 "no-catch-shadow": "error", | 51 "no-catch-shadow": "error", |
52 "no-cond-assign": "off", | 52 "no-cond-assign": "off", |
53 "no-console": ["error", {allow: ["warn", "error", "trace"]}], | 53 "no-console": ["error", {allow: ["warn", "error", "trace"]}], |
54 "no-constant-condition": ["error", {checkLoops: false}], | 54 "no-constant-condition": ["error", {checkLoops: false}], |
55 "no-control-regex": "off", | 55 "no-control-regex": "off", |
56 "no-else-return": "error", | 56 "no-else-return": "error", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 "strict": ["error", "global"], | 106 "strict": ["error", "global"], |
107 "valid-jsdoc": ["error", { | 107 "valid-jsdoc": ["error", { |
108 requireParamDescription: false, | 108 requireParamDescription: false, |
109 requireReturn: false, | 109 requireReturn: false, |
110 requireReturnDescription: false | 110 requireReturnDescription: false |
111 }], | 111 }], |
112 "yield-star-spacing": "error", | 112 "yield-star-spacing": "error", |
113 "yoda": "error" | 113 "yoda": "error" |
114 } | 114 } |
115 }; | 115 }; |
OLD | NEW |