WebChat/.eslintrc

48 lines
1.3 KiB
Text
Raw Permalink Normal View History

2023-07-11 20:22:57 +00:00
{
"root": true,
"env": {
"es2021": true,
"browser": true,
"node": true
},
"extends": [
"standard-with-typescript",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:tailwindcss/recommended",
2023-07-11 20:22:57 +00:00
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "react", "react-hooks", "prettier"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.eslint.json",
"warnOnUnsupportedTypeScriptVersion": false
},
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"prettier/prettier": "error",
2023-07-23 20:10:04 +00:00
"react/prop-types": "off",
2023-08-01 20:25:05 +00:00
"import/order": "error",
2023-07-11 20:22:57 +00:00
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/restrict-template-expressions": "off",
2023-08-06 16:24:00 +00:00
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/consistent-type-assertions": "off"
2023-07-11 20:22:57 +00:00
}
}