Skip to content

Commit

Permalink
Bump @typescript-eslint/parser from 3.10.1 to 4.5.0 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] committed Oct 22, 2020
1 parent 7d9843d commit 51713af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ module.exports = {
{
files: ['*.ts'],
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
],
rules: {
'import/extensions': ['error', 'never'],
// switch airbnb rules for typescript compatible ones
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['error', { functions: true, classes: true, variables: true }],
},
settings: {
'import/extensions': ['.js', '.ts'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.7.1",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.6.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
Expand Down

0 comments on commit 51713af

Please sign in to comment.