Skip to content

Commit

Permalink
chore: update eslint version to 7
Browse files Browse the repository at this point in the history
- added file extensions to analyze by CodeClimate
  https://docs.codeclimate.com/docs/eslint#extensions

> By default, the ESLint engine only analyzes .js files.
> If you want ESLint to analyze your JSX code and ES6 files,
> you'll need to specify this in your .codeclimate.yml, as shown
> in the example above.
  • Loading branch information
donni106 authored and Julian Kwast committed Jun 22, 2021
1 parent 3e4de02 commit 12b0534
Show file tree
Hide file tree
Showing 3 changed files with 296 additions and 187 deletions.
6 changes: 6 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ plugins:
eslint:
enabled: true
channel: "eslint-7"
config:
extensions:
- .js
- .jsx
- .ts
- .tsx
fixme:
enabled: true
nodesecurity:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"babel-eslint": "10.1.0",
"babel-jest": "25.5.1",
"babel-preset-expo": "8.3.0",
"eslint": "6.8.0",
"eslint": "^7.6.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.3.0",
Expand Down
Loading

0 comments on commit 12b0534

Please sign in to comment.