Skip to content

Commit ccfb32b

Browse files
authored
Merge pull request sagalbot#412 from sagalbot/revert-407-bugfix/linter
Revert "Fix linter"
2 parents 97e295b + cb324e0 commit ccfb32b

File tree

8 files changed

+1527
-1381
lines changed

8 files changed

+1527
-1381
lines changed

.eslintrc

Lines changed: 175 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,183 @@
33
"html"
44
],
55

6-
"parserOptions": {
7-
"ecmaVersion": 6,
8-
"sourceType": "module"
9-
},
10-
116
"env": {
127
"browser": true,
13-
"node": true,
14-
"es6": true,
15-
"jasmine": true
8+
"node": true
9+
},
10+
11+
"ecmaFeatures": {
12+
"arrowFunctions": true,
13+
"destructuring": true,
14+
"classes": true,
15+
"defaultParams": true,
16+
"blockBindings": true,
17+
"modules": true,
18+
"objectLiteralComputedProperties": true,
19+
"objectLiteralShorthandMethods": true,
20+
"objectLiteralShorthandProperties": true,
21+
"restParams": true,
22+
"spread": true,
23+
"forOf": true,
24+
"generators": true,
25+
"templateStrings": true,
26+
"superInFunctions": true,
27+
"experimentalObjectRestSpread": true
1628
},
1729

18-
"extends": "standard"
30+
"rules": {
31+
"accessor-pairs": 2,
32+
"array-bracket-spacing": 0,
33+
"block-scoped-var": 0,
34+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
35+
"camelcase": 0,
36+
"comma-dangle": [2, "never"],
37+
"comma-spacing": [2, { "before": false, "after": true }],
38+
"comma-style": [2, "last"],
39+
"complexity": 0,
40+
"computed-property-spacing": 0,
41+
"consistent-return": 0,
42+
"consistent-this": 0,
43+
"constructor-super": 2,
44+
"curly": [2, "multi-line"],
45+
"default-case": 0,
46+
"dot-location": [2, "property"],
47+
"dot-notation": 0,
48+
"eol-last": 2,
49+
"eqeqeq": [2, "allow-null"],
50+
"func-names": 0,
51+
"func-style": 0,
52+
"generator-star-spacing": [2, { "before": true, "after": true }],
53+
"guard-for-in": 0,
54+
"handle-callback-err": [2, "^(err|error)$" ],
55+
"indent": [2, 2, { "SwitchCase": 1 }],
56+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
57+
"linebreak-style": 0,
58+
"lines-around-comment": 0,
59+
"max-nested-callbacks": 0,
60+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
61+
"new-parens": 2,
62+
"newline-after-var": 0,
63+
"no-alert": 0,
64+
"no-array-constructor": 2,
65+
"no-caller": 2,
66+
"no-catch-shadow": 0,
67+
"no-cond-assign": 2,
68+
"no-console": 0,
69+
"no-constant-condition": 0,
70+
"no-continue": 0,
71+
"no-control-regex": 2,
72+
"no-debugger": 2,
73+
"no-delete-var": 2,
74+
"no-div-regex": 0,
75+
"no-dupe-args": 2,
76+
"no-dupe-keys": 2,
77+
"no-duplicate-case": 2,
78+
"no-else-return": 0,
79+
"no-empty": 0,
80+
"no-empty-character-class": 2,
81+
"no-empty-label": 2,
82+
"no-eq-null": 0,
83+
"no-eval": 2,
84+
"no-ex-assign": 2,
85+
"no-extend-native": 2,
86+
"no-extra-bind": 2,
87+
"no-extra-boolean-cast": 2,
88+
"no-extra-parens": 0,
89+
"no-extra-semi": 0,
90+
"no-fallthrough": 2,
91+
"no-floating-decimal": 2,
92+
"no-func-assign": 2,
93+
"no-implied-eval": 2,
94+
"no-inline-comments": 0,
95+
"no-inner-declarations": [2, "functions"],
96+
"no-invalid-regexp": 2,
97+
"no-irregular-whitespace": 2,
98+
"no-iterator": 2,
99+
"no-label-var": 2,
100+
"no-labels": 2,
101+
"no-lone-blocks": 2,
102+
"no-lonely-if": 0,
103+
"no-loop-func": 0,
104+
"no-mixed-requires": 0,
105+
"no-mixed-spaces-and-tabs": 2,
106+
"no-multi-spaces": 2,
107+
"no-multi-str": 2,
108+
"no-multiple-empty-lines": [2, { "max": 1 }],
109+
"no-native-reassign": 2,
110+
"no-negated-in-lhs": 2,
111+
"no-nested-ternary": 0,
112+
"no-new": 2,
113+
"no-new-func": 0,
114+
"no-new-object": 2,
115+
"no-new-require": 2,
116+
"no-new-wrappers": 2,
117+
"no-obj-calls": 2,
118+
"no-octal": 2,
119+
"no-octal-escape": 2,
120+
"no-param-reassign": 0,
121+
"no-path-concat": 0,
122+
"no-process-env": 0,
123+
"no-process-exit": 0,
124+
"no-proto": 0,
125+
"no-redeclare": 2,
126+
"no-regex-spaces": 2,
127+
"no-restricted-modules": 0,
128+
"no-return-assign": 2,
129+
"no-script-url": 0,
130+
"no-self-compare": 2,
131+
"no-sequences": 2,
132+
"no-shadow": 0,
133+
"no-shadow-restricted-names": 2,
134+
"no-spaced-func": 2,
135+
"no-sparse-arrays": 2,
136+
"no-sync": 0,
137+
"no-ternary": 0,
138+
"no-this-before-super": 2,
139+
"no-throw-literal": 2,
140+
"no-trailing-spaces": 2,
141+
"no-undef": 2,
142+
"no-undef-init": 2,
143+
"no-undefined": 0,
144+
"no-underscore-dangle": 0,
145+
"no-unexpected-multiline": 2,
146+
"no-unneeded-ternary": 2,
147+
"no-unreachable": 2,
148+
"no-unused-expressions": 0,
149+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
150+
"no-use-before-define": 0,
151+
"no-var": 0,
152+
"no-void": 0,
153+
"no-warning-comments": 0,
154+
"no-with": 2,
155+
"object-curly-spacing": 0,
156+
"object-shorthand": 0,
157+
"one-var": [2, { "initialized": "never" }],
158+
"operator-assignment": 0,
159+
"operator-linebreak": [2, "after", { "overrides": { "?": "before", ":": "before" } }],
160+
"padded-blocks": 0,
161+
"prefer-const": 0,
162+
"quote-props": 0,
163+
"quotes": [2, "single", "avoid-escape"],
164+
"radix": 2,
165+
"semi": [2, "never"],
166+
"semi-spacing": 0,
167+
"sort-vars": 0,
168+
"space-after-keywords": [2, "always"],
169+
"space-before-blocks": [2, "always"],
170+
"space-before-function-paren": [2, "always"],
171+
"space-in-parens": [2, "never"],
172+
"space-infix-ops": 2,
173+
"space-return-throw-case": 2,
174+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
175+
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!"] }],
176+
"strict": 0,
177+
"use-isnan": 2,
178+
"valid-jsdoc": 0,
179+
"valid-typeof": 2,
180+
"vars-on-top": 0,
181+
"wrap-iife": [2, "any"],
182+
"wrap-regex": 0,
183+
"yoda": [2, "never"]
184+
}
19185
}

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@
3131
"codeclimate-test-reporter": "^0.3.1",
3232
"connect-history-api-fallback": "^1.1.0",
3333
"css-loader": "^0.23.0",
34-
"eslint": "^4.14.0",
35-
"eslint-config-standard": "^11.0.0-beta.0",
36-
"eslint-plugin-html": "^4.0.1",
37-
"eslint-plugin-import": "^2.8.0",
38-
"eslint-plugin-node": "^5.2.1",
39-
"eslint-plugin-promise": "^3.6.0",
40-
"eslint-plugin-standard": "^3.0.1",
4134
"eventsource-polyfill": "^0.9.6",
4235
"express": "^4.13.3",
4336
"extract-text-webpack-plugin": "^1.0.1",
@@ -81,6 +74,5 @@
8174
"webpack-dev-middleware": "^1.4.0",
8275
"webpack-hot-middleware": "^2.6.0",
8376
"webpack-merge": "^0.13.0"
84-
},
85-
"dependencies": {}
77+
}
8678
}

0 commit comments

Comments
 (0)