| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 "no-var": "error", | 77 "no-var": "error", |
| 78 "no-warning-comments": "error", | 78 "no-warning-comments": "error", |
| 79 "no-whitespace-before-property": "error", | 79 "no-whitespace-before-property": "error", |
| 80 "no-with": "error", | 80 "no-with": "error", |
| 81 "object-curly-spacing": "error", | 81 "object-curly-spacing": "error", |
| 82 "object-shorthand": ["error", "always", { | 82 "object-shorthand": ["error", "always", { |
| 83 avoidExplicitReturnArrows: true | 83 avoidExplicitReturnArrows: true |
| 84 }], | 84 }], |
| 85 "one-var": ["error", "never"], | 85 "one-var": ["error", "never"], |
| 86 "operator-assignment": "error", | 86 "operator-assignment": "error", |
| 87 "operator-linebreak": "error", | 87 "operator-linebreak": ["error", "after"], |
| 88 "padded-blocks": ["error", "never"], | 88 "padded-blocks": ["error", "never"], |
| 89 "prefer-arrow-callback": "error", | 89 "prefer-arrow-callback": "error", |
| 90 "prefer-destructuring": ["error", {array: false}], | 90 "prefer-destructuring": ["error", {array: false}], |
| 91 "prefer-numeric-literals": "error", | 91 "prefer-numeric-literals": "error", |
| 92 "prefer-rest-params": "error", | 92 "prefer-rest-params": "error", |
| 93 "prefer-spread": "error", | 93 "prefer-spread": "error", |
| 94 "quote-props": ["error", "consistent-as-needed"], | 94 "quote-props": ["error", "consistent-as-needed"], |
| 95 "quotes": ["error", "double", {avoidEscape: true}], | 95 "quotes": ["error", "double", {avoidEscape: true}], |
| 96 "radix": "error", | 96 "radix": "error", |
| 97 "rest-spread-spacing": "error", | 97 "rest-spread-spacing": "error", |
| 98 "semi": "error", | 98 "semi": "error", |
| 99 "semi-spacing": "error", | 99 "semi-spacing": "error", |
| 100 "space-before-function-paren": ["error", "never"], | 100 "space-before-function-paren": ["error", "never"], |
| 101 "space-in-parens": "error", | 101 "space-in-parens": "error", |
| 102 "space-infix-ops": "error", | 102 "space-infix-ops": "error", |
| 103 "space-unary-ops": "error", | 103 "space-unary-ops": "error", |
| 104 "spaced-comment": "error", | 104 "spaced-comment": "error", |
| 105 "strict": ["error", "global"], | 105 "strict": ["error", "global"], |
| 106 "valid-jsdoc": ["error", { | 106 "valid-jsdoc": ["error", { |
| 107 requireParamDescription: false, | 107 requireParamDescription: false, |
| 108 requireReturn: false, | 108 requireReturn: false, |
| 109 requireReturnDescription: false | 109 requireReturnDescription: false |
| 110 }], | 110 }], |
| 111 "yield-star-spacing": "error", | 111 "yield-star-spacing": "error", |
| 112 "yoda": "error" | 112 "yoda": "error" |
| 113 } | 113 } |
| 114 }; | 114 }; |
| OLD | NEW |