Skip to content

Commit 442c9b6

Browse files
author
Rob McGuinness
committed
chore(dependencies): upgrade eslint-config-airbnb and eslint-plugin-jsx-a11y
BREAKING CHANGE: eslint-plugin-jsx-a11y upgraded to 6.x
1 parent a4271de commit 442c9b6

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ Based on [eslint-config-airbnb](https://github.com/airbnb/javascript) with the f
2121
- import/no-extraneous-dependencies
2222
- react/sort-comp
2323
- react/jsx-filename-extension
24+
- ract/require-default-props
2425
- class-methods-use-this
26+
- no-plusplus
2527

2628
## Installation
2729

2830
>
2931
```bash
30-
npm install eslint babel-eslint eslint-config-airbnb eslint-config-availity@next eslint-plugin-react eslint-plugin-promise eslint-plugin-import eslint-plugin-jsx-a11y@5 --save-dev
32+
npm install eslint babel-eslint eslint-config-airbnb eslint-config-availity@next eslint-plugin-react eslint-plugin-promise eslint-plugin-import eslint-plugin-jsx-a11y --save-dev
3133
```
3234

3335
## Usage Node

base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ module.exports = {
3232
devDependencies: ['**/test/*.js', '**/*.spec.js', '**/*.test.js'],
3333
},
3434
],
35+
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
3536
},
3637
};

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
"peerDependencies": {
3636
"eslint": "^4.0.0",
3737
"babel-eslint": "^8.0.0",
38-
"eslint-config-airbnb": "^15.0.0",
38+
"eslint-config-airbnb": "^16.0.0",
3939
"eslint-config-airbnb-base": "^12.0.0",
4040
"eslint-plugin-import": "^2.7.0",
41-
"eslint-plugin-jsx-a11y": "^5.0.0",
41+
"eslint-plugin-jsx-a11y": "^6.0.2",
4242
"eslint-plugin-promise": "^3.5.0",
4343
"eslint-plugin-react": "^7.0.0"
4444
},
@@ -47,10 +47,10 @@
4747
"conventional-changelog-cli": "^1.3.4",
4848
"conventional-recommended-bump": "^1.0.2",
4949
"eslint": "^4.0.0",
50-
"eslint-config-airbnb": "^15.0.0",
50+
"eslint-config-airbnb": "^16.0.0",
5151
"eslint-config-airbnb-base": "^12.0.0",
5252
"eslint-plugin-import": "^2.7.0",
53-
"eslint-plugin-jsx-a11y": "^5.0.0",
53+
"eslint-plugin-jsx-a11y": "^6.0.2",
5454
"eslint-plugin-promise": "^3.5.0",
5555
"eslint-plugin-react": "^7.0.0",
5656
"is-plain-obj": "1.1.0",

0 commit comments

Comments
 (0)