Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: eslint-config-eyeo/index.js

Issue 29377779: Issue 3692 - Add arrow-parens ESLint rule (Closed)
Patch Set: Created March 2, 2017, 4:22 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 /* eslint-env commonjs */ 18 /* eslint-env commonjs */
19 19
20 "use strict"; 20 "use strict";
21 21
22 module.exports = { 22 module.exports = {
23 extends: "eslint:recommended", 23 extends: "eslint:recommended",
24 env: { 24 env: {
25 es6: true 25 es6: true
26 }, 26 },
27 rules: { 27 rules: {
28 "array-bracket-spacing": "error", 28 "array-bracket-spacing": "error",
29 "arrow-parens": "error",
Wladimir Palant 2017/03/02 10:03:29 Going through adblockplus and adblockpluscore repo
29 "arrow-spacing": "error", 30 "arrow-spacing": "error",
30 "block-scoped-var": "error", 31 "block-scoped-var": "error",
31 "block-spacing": "error", 32 "block-spacing": "error",
32 "brace-style": ["error", "allman", {allowSingleLine: true}], 33 "brace-style": ["error", "allman", {allowSingleLine: true}],
33 "camelcase": ["error", {properties: "never"}], 34 "camelcase": ["error", {properties: "never"}],
34 "comma-dangle": "error", 35 "comma-dangle": "error",
35 "comma-spacing": "error", 36 "comma-spacing": "error",
36 "comma-style": "error", 37 "comma-style": "error",
37 "computed-property-spacing": "error", 38 "computed-property-spacing": "error",
38 "curly": ["error", "multi-or-nest"], 39 "curly": ["error", "multi-or-nest"],
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "strict": ["error", "global"], 107 "strict": ["error", "global"],
107 "valid-jsdoc": ["error", { 108 "valid-jsdoc": ["error", {
108 requireParamDescription: false, 109 requireParamDescription: false,
109 requireReturn: false, 110 requireReturn: false,
110 requireReturnDescription: false 111 requireReturnDescription: false
111 }], 112 }],
112 "yield-star-spacing": "error", 113 "yield-star-spacing": "error",
113 "yoda": "error" 114 "yoda": "error"
114 } 115 }
115 }; 116 };
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld