mirror of
https://github.com/barkeser2002/bariskeser.github.io.git
synced 2026-09-25 01:00:08 +03:00
36 lines
765 B
JavaScript
36 lines
765 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
},
|
|
extends: [
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'prettier/@typescript-eslint',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
rules: {
|
|
'react/prop-types': 0,
|
|
'react/display-name': 0,
|
|
'@typescript-eslint/no-explicit-any': 0,
|
|
'@typescript-eslint/explicit-function-return-type': 0,
|
|
'@typescript-eslint/no-namespace': 0,
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect',
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
node: {
|
|
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
|
},
|
|
},
|
|
},
|
|
},
|
|
};
|