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

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

Issue 29423586: Noissue - Support ECMAScript 2017 syntax, including async functions (Closed) Base URL: https://hg.adblockplus.org/codingtools/
Patch Set: Created April 27, 2017, 12:05 p.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 parserOptions: {
25 ecmaVersion: 2017
26 },
24 env: { 27 env: {
25 es6: true 28 es6: true
26 }, 29 },
27 rules: { 30 rules: {
28 "array-bracket-spacing": "error", 31 "array-bracket-spacing": "error",
29 "arrow-spacing": "error", 32 "arrow-spacing": "error",
30 "block-scoped-var": "error", 33 "block-scoped-var": "error",
31 "block-spacing": "error", 34 "block-spacing": "error",
32 "brace-style": ["error", "allman", {allowSingleLine: true}], 35 "brace-style": ["error", "allman", {allowSingleLine: true}],
33 "camelcase": ["error", {properties: "never"}], 36 "camelcase": ["error", {properties: "never"}],
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "strict": ["error", "global"], 108 "strict": ["error", "global"],
106 "valid-jsdoc": ["error", { 109 "valid-jsdoc": ["error", {
107 requireParamDescription: false, 110 requireParamDescription: false,
108 requireReturn: false, 111 requireReturn: false,
109 requireReturnDescription: false 112 requireReturnDescription: false
110 }], 113 }],
111 "yield-star-spacing": "error", 114 "yield-star-spacing": "error",
112 "yoda": "error" 115 "yoda": "error"
113 } 116 }
114 }; 117 };
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