@@ -17,9 +17,10 @@ module.exports = {
1717 extends : [
1818 'eslint:recommended' ,
1919 'airbnb' ,
20- 'plugin:@typescript-eslint/recommended ' ,
20+ 'plugin:@typescript-eslint/strict ' ,
2121 'plugin:import/recommended' ,
2222 'plugin:import/typescript' ,
23+ 'plugin:jsonc/recommended-with-jsonc' ,
2324 'prettier' ,
2425 ] ,
2526 ignorePatterns : [
@@ -35,9 +36,7 @@ module.exports = {
3536 'error' ,
3637 { 'ts-expect-error' : 'allow-with-description' } ,
3738 ] ,
38- '@typescript-eslint/no-empty-function' : 'off' ,
3939 '@typescript-eslint/no-shadow' : 'error' ,
40- '@typescript-eslint/no-var-requires' : 'off' ,
4140 'import/default' : 'error' ,
4241 'import/extensions' : 'off' ,
4342 'import/named' : 'error' ,
@@ -64,10 +63,11 @@ module.exports = {
6463 plugins : [
6564 'preset-lint-markdown-style-guide' ,
6665 'frontmatter' ,
67- [ 'lint-no-duplicate-headings' , false ] ,
68- [ 'lint-list-item-indent' , false ] ,
6966 [ 'lint-emphasis-marker' , false ] ,
67+ [ 'lint-list-item-content-indent' , false ] ,
68+ [ 'lint-list-item-indent' , false ] ,
7069 [ 'lint-list-item-spacing' , false ] ,
70+ [ 'lint-no-duplicate-headings' , false ] ,
7171 [ 'lint-no-literal-urls' , false ] ,
7272 ] ,
7373 } ,
@@ -125,6 +125,10 @@ module.exports = {
125125 } ,
126126 ] ,
127127 'valid-jsdoc' : [ 'error' , { prefer : { return : 'returns' } } ] ,
128+ 'no-empty-function' : [
129+ 'error' ,
130+ { allow : [ 'arrowFunctions' , 'constructors' ] } ,
131+ ] ,
128132 } ,
129133 overrides : [
130134 {
@@ -158,10 +162,17 @@ module.exports = {
158162 } ,
159163 {
160164 files : [ '*.json' ] ,
165+ parser : 'jsonc-eslint-parser' ,
161166 rules : {
162167 'no-template-curly-in-string' : 'off' ,
163168 } ,
164169 } ,
170+ {
171+ files : [ '*.js' ] ,
172+ rules : {
173+ '@typescript-eslint/no-require-imports' : 'off' ,
174+ } ,
175+ } ,
165176 {
166177 files : [
167178 '**/__tests__/**/*.[jt]s?(x)' ,
0 commit comments