aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc67
1 files changed, 0 insertions, 67 deletions
diff --git a/.eslintrc b/.eslintrc
deleted file mode 100644
index e235b6064..000000000
--- a/.eslintrc
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "extends": [
- "eslint:recommended",
- "plugin:jsdoc/recommended",
- "plugin:promise/recommended",
- "plugin:react/recommended",
- "plugin:react/jsx-runtime",
- "plugin:react-hooks/recommended",
- "plugin:jest/recommended",
- "plugin:jest-dom/recommended"
- ],
- "env": {
- "browser": true,
- "node": true,
- "es6": true,
- "jest/globals": true
- },
- "plugins": [
- "react",
- "react-hooks",
- "only-ascii",
- "testing-library",
- "jest",
- "jest-dom",
- "jsdoc"
- ],
- "settings": {
- "react": {
- "pragma": "React",
- "version": "18"
- },
- "jsdoc": {
- "mode": "typescript"
- }
- },
- "overrides": [
- {
- "files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
- "extends": ["plugin:testing-library/react"]
- }
- ],
- "parserOptions": {
- "sourceType": "module",
- "ecmaFeatures": {
- "jsx": true
- },
- "ecmaVersion": 12
- },
- "rules": {
- "quotes": ["error", "single"],
- "no-cond-assign": "warn",
- "no-unused-vars": "warn",
- "no-useless-escape": "warn",
- "only-ascii/only-ascii": ["warn", { "allowedChars": "✓←→♡ ·—©" }],
- "react/prop-types": "off",
- "testing-library/no-node-access": "off",
- "jsdoc/require-jsdoc": ["warn", { "publicOnly" : true }],
- "jsdoc/require-returns": "off",
- "jsdoc/require-returns-type": "off",
- "jsdoc/require-property-description": "off",
- "jsdoc/require-param-description": "off",
- "promise/always-return": "off",
- "semi": ["error", "never", { "beforeStatementContinuationChars": "always"}],
- "semi-style": ["error", "last"]
- },
- "root": true
-}