mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-11-24 19:00:55 +01:00
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
{
|
|
"extends": ["eslint:recommended", "prettier"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": { "jsx": true }
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es2020": true,
|
|
"jest": true
|
|
},
|
|
"settings": { "react": { "version": "detect" } },
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.ts", "**/*.tsx"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"project": "./tsconfig.json",
|
|
"tsconfigRootDir": "./"
|
|
},
|
|
"extends": [
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:jsx-a11y/recommended",
|
|
"plugin:prettier/recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:@next/next/recommended"
|
|
],
|
|
"plugins": ["@typescript-eslint", "react"],
|
|
"rules": {
|
|
"react/prop-types": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|