Skip to content

Commit

Permalink
feat(dev-deps): upgrade peer & dev dependencies (#214)
Browse files Browse the repository at this point in the history
* feat(dev-deps): upgrade peer & dev dependencies

* feat(dev-deps): fix the breaking tests after upgrade

Co-authored-by: Jonah Pereira <[email protected]>
  • Loading branch information
jbizkit and Jonah Pereira authored Dec 10, 2020
1 parent 56edea3 commit 7418e9d
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 341 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
node: true,
browser: true
},
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module",
ecmaFeatures: {
Expand Down
38 changes: 20 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,35 @@
],
"author": "Maciej Małkowski (https://github.com/matmalkowski)",
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^4.2.0",
"eslint": "^7.10.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8"
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"eslint": "^7.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0"
},
"dependencies": {
"eslint-config-airbnb": "^18.2.0"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^9.1.1",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"commitizen": "^4.1.2",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.10.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^24.0.2",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react-hooks": "^4.0.8",
"@commitlint/config-conventional": "^11.0.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"commitizen": "^4.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"react": "^16.14.0",
"semantic-release": "^17.2.3",
"semantic-release": "^17.3.0",
"typescript": "^3.9.7"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tests/validate-config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function getErrors() {
const CLIEngine = eslint.CLIEngine;

const cli = new CLIEngine({
configFile: 'index.js',
configFile: 'index.js'
});

return cli.executeOnText(fs.readFileSync('./tests/mock-file.js', 'utf8'));
Expand Down
Loading

0 comments on commit 7418e9d

Please sign in to comment.