mirror of https://github.com/arc53/DocsGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
702 B
JavaScript
40 lines
702 B
JavaScript
1 year ago
|
module.exports = {
|
||
|
env: {
|
||
|
browser: true,
|
||
|
es2021: true,
|
||
|
node: true
|
||
|
},
|
||
|
extends: [
|
||
|
'eslint:recommended',
|
||
|
'plugin:@typescript-eslint/recommended',
|
||
|
'plugin:react/recommended',
|
||
|
'plugin:prettier/recommended',
|
||
|
],
|
||
|
overrides: [
|
||
|
],
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 'latest',
|
||
|
sourceType: 'module'
|
||
|
},
|
||
|
plugins: [
|
||
|
'react'
|
||
|
],
|
||
|
rules: {
|
||
|
},
|
||
|
settings: {
|
||
|
'import/parsers': {
|
||
|
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
||
|
},
|
||
|
react: {
|
||
|
version: "detect",
|
||
|
},
|
||
|
'import/resolver': {
|
||
|
node: {
|
||
|
paths: ['src'],
|
||
|
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|