Skip to content

Commit

Permalink
Fix issues with eslint import plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTheFiveNine committed Jun 23, 2021
1 parent b770b99 commit 281c622
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 28 deletions.
12 changes: 0 additions & 12 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,5 @@ module.exports = {
'lines-between-class-members': ['error', 'always', {
exceptAfterSingleLine: true,
}],

/*
The import plugin used by airbnb-base is not compatible
with @babel/eslint-parser, so these rules need to be
disabled.
*/
'import/extensions': 'off',
'import/order': 'off',
'import/no-self-import': 'off',
'import/no-unresolved': 'off',
'import/no-useless-path-segments': 'off',
'import/no-extraneous-dependencies': 'off',
},
};
34 changes: 18 additions & 16 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"babel-jest": "^27.0.2",
"eslint": "^7.29.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-import-resolver-node": "^0.3.4",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"jest": "^27.0.4",
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,7 @@ __metadata:
babel-jest: ^27.0.2
eslint: ^7.29.0
eslint-config-airbnb-base: ^14.2.1
eslint-import-resolver-node: ^0.3.4
eslint-plugin-import: ^2.23.4
eslint-plugin-jest: ^24.3.6
jest: ^27.0.4
Expand Down

0 comments on commit 281c622

Please sign in to comment.