Skip to content

Commit

Permalink
Добавил поддержку jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur233 committed Sep 27, 2024
1 parent feb5c43 commit 3c71d73
Show file tree
Hide file tree
Showing 4 changed files with 2,133 additions and 31 deletions.
10 changes: 9 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,22 @@ module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 11,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint', 'react'],
rules: {
'react/react-in-jsx-scope': 'off',
'@typescript-eslint/ban-ts-comment': 1,
'quotes': ['error', 'single']
},
}
Loading

0 comments on commit 3c71d73

Please sign in to comment.