This repository was archived by the owner on Mar 7, 2019. It is now read-only.
File tree 4 files changed +18
-18
lines changed
4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ module.exports = {
14
14
15
15
extends : '../shared/recommended.js' ,
16
16
17
+ env : {
18
+ node : true ,
19
+ es6 : true ,
20
+ } ,
21
+
17
22
rules : {
18
23
// Enforce `require()` on the top-level module scope
19
24
// It's arguably harder to identify dependencies when they are deeply nested inside of functions
Original file line number Diff line number Diff line change @@ -15,11 +15,6 @@ module.exports = {
15
15
16
16
extends : './recommended.js' ,
17
17
18
- env : {
19
- node : true ,
20
- es6 : true ,
21
- } ,
22
-
23
18
rules : {
24
19
// ESLint no longer supports disabling some still unsuported ES 2015 features, so we need to use
25
20
// this rule to disable that syntax
Original file line number Diff line number Diff line change @@ -12,6 +12,19 @@ module.exports = {
12
12
13
13
extends : '../shared/recommended.js' ,
14
14
15
+ env : {
16
+ es6 : true ,
17
+ browser : true ,
18
+ } ,
19
+
20
+ parserOptions : {
21
+ sourceType : 'module' ,
22
+ ecmaVersion : 2017 ,
23
+ ecmaFeatures : {
24
+ jsx : true ,
25
+ } ,
26
+ } ,
27
+
15
28
rules : {
16
29
// Enforce JSX Quote Style
17
30
// This rule enforces the consistent use of either double or single quotes in JSX attributes.
Original file line number Diff line number Diff line change @@ -15,19 +15,6 @@ module.exports = {
15
15
'./accessibility.js' ,
16
16
] ,
17
17
18
- env : {
19
- es6 : true ,
20
- browser : true ,
21
- } ,
22
-
23
- parserOptions : {
24
- sourceType : 'module' ,
25
- ecmaVersion : 2017 ,
26
- ecmaFeatures : {
27
- jsx : true ,
28
- } ,
29
- } ,
30
-
31
18
rules : {
32
19
'operator-linebreak' : 0 ,
33
20
'require-jsdoc' : 0 ,
You can’t perform that action at this time.
0 commit comments