Skip to content

Commit

Permalink
[Tests] eslint: disable max-len; fix react version settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 10, 2019
1 parent 6428b57 commit 47350d0
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-13/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"react/no-find-dom-node": 0,
"react/no-multi-comp": 0,
"no-underscore-dangle": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-14/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"react/no-find-dom-node": 0,
"react/no-multi-comp": 0,
"no-underscore-dangle": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-15.4/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"react/no-find-dom-node": 0,
"react/no-multi-comp": 0,
"no-underscore-dangle": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-15/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"react/no-find-dom-node": 0,
"react/no-multi-comp": 0,
"no-underscore-dangle": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-16.1/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-16.2/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
Expand Down
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-16.3/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
Expand Down
3 changes: 2 additions & 1 deletion packages/enzyme-adapter-react-16/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "airbnb",
"root": true,
"rules": {
"max-len": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
Expand All @@ -13,7 +14,7 @@
},
"settings": {
"react": {
"version": "16.4.0",
"version": "16",
},
},
}
5 changes: 5 additions & 0 deletions packages/enzyme-adapter-react-helper/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
"rules": {
"max-len": 0,
},
"settings": {
"react": {
"version": "detect",
},
},
}
8 changes: 8 additions & 0 deletions packages/enzyme-adapter-utils/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,12 @@
},
},
],
"rules": {
"max-len": 0,
},
"settings": {
"react": {
"version": "detect",
},
},
}
3 changes: 3 additions & 0 deletions packages/enzyme-test-suite/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"plugins": ["mocha"],
"settings": {
"mocha/additionalTestFunctions": ["itIf", "describeIf"],
"react": {
"version": "detect",
},
},
"rules": {
"max-len": 0,
Expand Down

0 comments on commit 47350d0

Please sign in to comment.