@@ -79,7 +79,7 @@ module.exports = {
7979 'node/prefer-promises/fs' : 'off' ,
8080
8181 //////////////////////////////////////////////////////////////////////////////
82- // `eslint-plugin-import` rule list based on `v2.26 .x`
82+ // `eslint-plugin-import` rule list based on `v2.27 .x`
8383 //////////////////////////////////////////////////////////////////////////////
8484
8585 // Static analysis
@@ -114,6 +114,7 @@ module.exports = {
114114 'import/no-extraneous-dependencies' : [ 'error' , { devDependencies : false } ] ,
115115 'import/no-mutable-exports' : 'error' ,
116116 'import/no-unused-modules' : 'error' ,
117+ 'import/no-empty-named-blocks' : 'error' ,
117118
118119 // Module systems
119120 // https://github.com/benmosher/eslint-plugin-import#module-systems
@@ -125,6 +126,7 @@ module.exports = {
125126
126127 // Style guide
127128 // https://github.com/benmosher/eslint-plugin-import#style-guide
129+ 'import/consistent-type-specifier-style' : 'error' ,
128130 'import/first' : 'error' ,
129131 'import/exports-last' : 'off' ,
130132 'import/no-duplicates' : 'error' ,
@@ -146,7 +148,7 @@ module.exports = {
146148 'import/dynamic-import-chunkname' : 'off' ,
147149
148150 //////////////////////////////////////////////////////////////////////////////
149- // `eslint-plugin-simple-import-sort` rule list based on `v8 .0.x`
151+ // `eslint-plugin-simple-import-sort` rule list based on `v10 .0.x`
150152 // https://github.com/lydell/eslint-plugin-simple-import-sort
151153 //////////////////////////////////////////////////////////////////////////////
152154
@@ -186,7 +188,7 @@ module.exports = {
186188 'simple-import-sort/exports' : 'off' , // TODO: error
187189
188190 //////////////////////////////////////////////////////////////////////////////
189- // ESLint builtin rules list based on `v8.27 .x`
191+ // ESLint builtin rules list based on `v8.34 .x`
190192 //////////////////////////////////////////////////////////////////////////////
191193
192194 // Possible Errors
@@ -344,7 +346,10 @@ module.exports = {
344346 'no-proto' : 'error' ,
345347 'no-redeclare' : 'error' ,
346348 'no-regex-spaces' : 'error' ,
347- 'no-restricted-exports' : 'off' ,
349+ 'no-restricted-exports' : [
350+ 'error' ,
351+ { restrictDefaultExports : { direct : true } } ,
352+ ] ,
348353 'no-restricted-globals' : 'off' ,
349354 'no-restricted-imports' : 'off' ,
350355 'no-restricted-properties' : 'off' ,
@@ -503,7 +508,7 @@ module.exports = {
503508 'tsdoc/syntax' : 'error' ,
504509
505510 //////////////////////////////////////////////////////////////////////////
506- // `@typescript-eslint/eslint-plugin` rule list based on `v5.43 .x`
511+ // `@typescript-eslint/eslint-plugin` rule list based on `v5.53 .x`
507512 //////////////////////////////////////////////////////////////////////////
508513
509514 // Supported Rules
@@ -545,13 +550,15 @@ module.exports = {
545550 '@typescript-eslint/no-floating-promises' : 'error' ,
546551 '@typescript-eslint/no-for-in-array' : 'error' ,
547552 '@typescript-eslint/no-implicit-any-catch' : 'off' , // TODO: Enable after TS conversion
553+ '@typescript-eslint/no-import-type-side-effects' : 'error' ,
548554 '@typescript-eslint/no-implied-eval' : 'error' ,
549555 '@typescript-eslint/no-inferrable-types' : [
550556 'error' ,
551557 { ignoreParameters : true , ignoreProperties : true } ,
552558 ] ,
553559 '@typescript-eslint/no-misused-new' : 'error' ,
554560 '@typescript-eslint/no-misused-promises' : 'error' ,
561+ '@typescript-eslint/no-mixed-enums' : 'error' ,
555562 '@typescript-eslint/no-namespace' : 'error' ,
556563 '@typescript-eslint/no-non-null-asserted-nullish-coalescing' : 'error' ,
557564 '@typescript-eslint/no-non-null-asserted-optional-chain' : 'error' ,
@@ -665,13 +672,15 @@ module.exports = {
665672
666673 // Below rules are disabled because they conflict with Prettier, see:
667674 // https://github.com/prettier/eslint-config-prettier/blob/main/index.js
675+ '@typescript-eslint/block-spacing' : 'off' ,
668676 '@typescript-eslint/object-curly-spacing' : 'off' ,
669677 '@typescript-eslint/quotes' : 'off' ,
670678 '@typescript-eslint/brace-style' : 'off' ,
671679 '@typescript-eslint/comma-dangle' : 'off' ,
672680 '@typescript-eslint/comma-spacing' : 'off' ,
673681 '@typescript-eslint/func-call-spacing' : 'off' ,
674682 '@typescript-eslint/indent' : 'off' ,
683+ '@typescript-eslint/key-spacing' : 'off' ,
675684 '@typescript-eslint/keyword-spacing' : 'off' ,
676685 '@typescript-eslint/member-delimiter-style' : 'off' ,
677686 '@typescript-eslint/no-extra-parens' : 'off' ,
@@ -805,6 +814,7 @@ module.exports = {
805814 } ,
806815 } ,
807816 rules : {
817+ 'no-restricted-exports' : 'off' ,
808818 'node/no-unpublished-require' : 'off' ,
809819 'import/no-default-export' : 'off' ,
810820 'import/no-commonjs' : 'off' ,
0 commit comments