File tree Expand file tree Collapse file tree 4 files changed +1858
-336
lines changed
Expand file tree Collapse file tree 4 files changed +1858
-336
lines changed Original file line number Diff line number Diff line change 11const { defineConfig, globalIgnores } = require ( 'eslint/config' ) ;
22const i18N = require ( 'eslint-plugin-i18n' ) ;
33const simpleImportSort = require ( 'eslint-plugin-simple-import-sort' ) ;
4+ const react = require ( 'eslint-plugin-react' ) ;
45const { FlatCompat } = require ( '@eslint/eslintrc' ) ;
56const js = require ( '@eslint/js' ) ;
67const typescriptEslint = require ( '@typescript-eslint/eslint-plugin' ) ;
@@ -18,20 +19,25 @@ const BASE_CONFIG = {
1819 'plugin:@typescript-eslint/eslint-recommended' ,
1920 'plugin:@typescript-eslint/recommended' ,
2021 'prettier' ,
21- 'plugin:prettier/recommended'
22+ 'plugin:prettier/recommended' ,
23+ 'plugin:react/recommended' ,
2224 ) ,
2325
2426 plugins : {
2527 '@typescript-eslint' : typescriptEslint ,
2628 i18n : i18N ,
2729 'simple-import-sort' : simpleImportSort ,
30+ react : react ,
2831 } ,
2932
3033 languageOptions : {
3134 parser : tsParser ,
3235 } ,
36+ settings : { } ,
3337
3438 rules : {
39+ 'react/jsx-no-target-blank' : 'off' ,
40+ 'react/no-unescaped-entities' : 'off' ,
3541 'i18n/no-russian-character' : 1 ,
3642
3743 'simple-import-sort/imports' : [
You can’t perform that action at this time.
0 commit comments