diff options
Diffstat (limited to '.eslintrc.js')
| -rw-r--r-- | .eslintrc.js | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 00000000..dd6342ad --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,33 @@ +module.exports = { + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "next/core-web-vitals", + "eslint:recommended", + "plugin:react/recommended", + "plugin:react-hooks/recommended", + "plugin:@next/next/recommended", + "next", + "prettier" + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "ignorePatterns": ["postcss.config.js"], + "rules": { + "no-redeclare": "off", + "@next/next/no-html-link-for-pages": "off", + "no-undef": "off", + "react/jsx-no-undef": "off", + "no-unused-vars": [ + "error", + { + "varsIgnorePattern": "^_", + "argsIgnorePattern": "^_" + } + ] + } +} |
