-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.js
24 lines (24 loc) · 1.11 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
// Generated from https://eslintconfig.dev/cra/typescript-prettier
extends: [
"react-app", // Create React App base settings
"eslint:recommended", // recommended ESLint rules
"plugin:@typescript-eslint/recommended", // recommended rules from @typescript-eslint/eslint-plugin
"prettier", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with Prettier. Now part of "prettier"
"plugin:prettier/recommended", // Enables eslint-plugin-prettier and eslint-config-prettier. This will display Prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
plugins: ["simple-import-sort"],
rules: {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{
allowArgumentsExplicitlyTypedAsAny: true,
},
],
"@typescript-eslint/no-empty-function": "off",
},
};