@samitouri / QOS-React-2 / commits / e02a303e3e

.eslint in src is not necessary anymore

chico committed Feb 13, 2015 at 02:34 UTC e02a303e3e4873f5f420df577b650694c78e4334
1 file changed -51
src/.eslintrc deleted
-51
@@ -1,51 +0,0 @@
1 ----
2 -parser: esprima-fb
3 -
4 -env:
5 - browser: true
6 - node: true
7 -
8 -globals:
9 - __DEV__: true
10 -
11 -rules:
12 - # ERRORS
13 - brace-style: 2
14 - space-after-keywords: 2
15 - strict: 2
16 - # We actually have a transform to support this and we fix this for bundled
17 - # releases but not for the npm package, so enforce it strictly
18 - no-comma-dangle: 2
19 - # Make this a warning for now. We do this in a few places so we might need to
20 - # disable
21 - no-unused-expressions: 2
22 - block-scoped-var: 2
23 - eol-last: 2
24 - dot-notation: 2
25 - consistent-return: 2
26 - no-unused-vars: [2, args: none]
27 - quotes: [2, 'single']
28 - space-before-blocks: 2
29 - indent: [2, 2, indentSwitchCase: true]
30 -
31 - # WARNINGS
32 - # This is the only one that's hard to track since we don't lint just changes.
33 - max-len: [1, 80]
34 -
35 - # WISHLIST. One day...
36 - # We'll need a custom version of this that does a subset of the whole rule.
37 - # Otherwise this is just too noisy.
38 - # valid-jsdoc: 1
39 -
40 - # DISABLED. These aren't compatible with our style
41 - # We use this for private/internal variables
42 - no-underscore-dangle: 0
43 - # We pass constructors around / access them from members
44 - new-cap: 0
45 - # We do this a lot.
46 - no-use-before-define: 0
47 - # We do this in a few places to align values
48 - key-spacing: 0
49 -
50 - # DISABLED. These currently cause errors when running.
51 - no-multi-spaces: 0