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": ["error", 2, {SwitchCase: 1, ArrayExpression: "first", |
| 44 ObjectExpression: "first"}], |
44 "key-spacing": "error", | 45 "key-spacing": "error", |
45 "keyword-spacing": "error", | 46 "keyword-spacing": "error", |
46 "linebreak-style": "error", | 47 "linebreak-style": "error", |
47 "lines-around-directive": "error", | 48 "lines-around-directive": "error", |
48 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}], | 49 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}], |
49 "new-parens": "error", | 50 "new-parens": "error", |
50 "no-array-constructor": "error", | 51 "no-array-constructor": "error", |
51 "no-caller": "error", | 52 "no-caller": "error", |
52 "no-case-declarations": "off", | 53 "no-case-declarations": "off", |
53 "no-catch-shadow": "error", | 54 "no-catch-shadow": "error", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 "strict": ["error", "global"], | 109 "strict": ["error", "global"], |
109 "valid-jsdoc": ["error", { | 110 "valid-jsdoc": ["error", { |
110 requireParamDescription: false, | 111 requireParamDescription: false, |
111 requireReturn: false, | 112 requireReturn: false, |
112 requireReturnDescription: false | 113 requireReturnDescription: false |
113 }], | 114 }], |
114 "yield-star-spacing": "error", | 115 "yield-star-spacing": "error", |
115 "yoda": "error" | 116 "yoda": "error" |
116 } | 117 } |
117 }; | 118 }; |
OLD | NEW |