Skip to content

Commit

Permalink
Include 'plugin:import/typescript' for future imports
Browse files Browse the repository at this point in the history
In future ESLint 8, this plugin must be enabled.

We are currently blocked from updating due to a bug in
eslint-plugin-import

@link import-js/eslint-plugin-import#2267
  • Loading branch information
lipemat committed Feb 2, 2022
1 parent 418230d commit 98f9f0c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Expand Up @@ -2,7 +2,10 @@ module.exports = {
"env": {
"browser": true
},
'extends': [ 'plugin:@wordpress/eslint-plugin/recommended-with-formatting' ],
'extends': [
'plugin:@wordpress/eslint-plugin/recommended-with-formatting',
'plugin:import/typescript'
],
'globals': {
'$': 'readonly',
'jQuery': 'readonly',
Expand Down

0 comments on commit 98f9f0c

Please sign in to comment.