From 98f9f0cd73dc11fa27ad61193e37a792d65267da Mon Sep 17 00:00:00 2001 From: lipemat Date: Tue, 1 Feb 2022 21:44:07 -0500 Subject: [PATCH] Include 'plugin:import/typescript' for future imports In future ESLint 8, this plugin must be enabled. We are currently blocked from updating due to a bug in eslint-plugin-import @link https://github.com/import-js/eslint-plugin-import/issues/2267 --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index d9984be..3dc499d 100644 --- a/index.js +++ b/index.js @@ -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',