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

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

Issue 30050569: Noissue - Removed linters which are now moved to a seperate repository (Closed)
Patch Set: Created April 25, 2019, 11:17 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 | « eslint-config-eyeo/README.md ('k') | eslint-config-eyeo/package.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
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/>.
16 */
17
18 /* eslint-env commonjs */
19
20 "use strict";
21
22 module.exports = {
23 extends: "eslint:recommended",
24 parserOptions: {
25 ecmaVersion: 2017
26 },
27 env: {
28 es6: true
29 },
30 rules: {
31 "array-bracket-spacing": "error",
32 "arrow-spacing": "error",
33 "block-scoped-var": "error",
34 "block-spacing": "error",
35 "brace-style": ["error", "allman", {allowSingleLine: true}],
36 "camelcase": ["error", {properties: "never"}],
37 "comma-dangle": "error",
38 "comma-spacing": "error",
39 "comma-style": "error",
40 "computed-property-spacing": "error",
41 "eol-last": "error",
42 "func-call-spacing": "error",
43 "indent-legacy": ["error", 2, {SwitchCase: 1, ArrayExpression: "first"}],
44 "key-spacing": "error",
45 "keyword-spacing": "error",
46 "linebreak-style": "error",
47 "lines-around-directive": "error",
48 "max-len": ["error", 80, {ignoreUrls: true, ignoreRegExpLiterals: true}],
49 "new-parens": "error",
50 "no-array-constructor": "error",
51 "no-caller": "error",
52 "no-case-declarations": "off",
53 "no-catch-shadow": "error",
54 "no-cond-assign": "off",
55 "no-console": ["error", {allow: ["warn", "error", "trace"]}],
56 "no-constant-condition": ["error", {checkLoops: false}],
57 "no-control-regex": "off",
58 "no-else-return": "error",
59 "no-empty": "off",
60 "no-eval": "error",
61 "no-extra-bind": "error",
62 "no-extra-label": "error",
63 "no-implied-eval": "error",
64 "no-labels": ["error", {allowLoop: true}],
65 "no-lone-blocks": "error",
66 "no-lonely-if": "error",
67 "no-multi-spaces": ["error", {ignoreEOLComments: true}],
68 "no-new-func": "error",
69 "no-new-object": "error",
70 "no-proto": "error",
71 "no-self-compare": "error",
72 "no-shadow": "error",
73 "no-trailing-spaces": "error",
74 "no-unneeded-ternary": "error",
75 "no-unused-vars": ["error", {vars: "local", args: "none"}],
76 "no-useless-computed-key": "error",
77 "no-useless-concat": "error",
78 "no-useless-escape": "error",
79 "no-useless-return": "error",
80 "no-var": "error",
81 "no-warning-comments": "error",
82 "no-whitespace-before-property": "error",
83 "no-with": "error",
84 "object-curly-spacing": "error",
85 "object-shorthand": ["error", "always", {
86 avoidExplicitReturnArrows: true
87 }],
88 "one-var": ["error", "never"],
89 "operator-assignment": "error",
90 "operator-linebreak": ["error", "after"],
91 "padded-blocks": ["error", "never"],
92 "prefer-arrow-callback": "error",
93 "prefer-destructuring": ["error", {array: false}],
94 "prefer-numeric-literals": "error",
95 "prefer-rest-params": "error",
96 "prefer-spread": "error",
97 "quote-props": ["error", "consistent-as-needed"],
98 "quotes": ["error", "double", {avoidEscape: true}],
99 "radix": "error",
100 "rest-spread-spacing": "error",
101 "semi": "error",
102 "semi-spacing": "error",
103 "space-before-function-paren": ["error", "never"],
104 "space-in-parens": "error",
105 "space-infix-ops": "error",
106 "space-unary-ops": "error",
107 "spaced-comment": "error",
108 "strict": ["error", "global"],
109 "valid-jsdoc": ["error", {
110 requireParamDescription: false,
111 requireReturn: false,
112 requireReturnDescription: false
113 }],
114 "yield-star-spacing": "error",
115 "yoda": "error"
116 }
117 };
OLDNEW
« no previous file with comments | « eslint-config-eyeo/README.md ('k') | eslint-config-eyeo/package.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld