Last active
February 10, 2021 07:56
-
-
Save itsMapleLeaf/b0379fe628a3ea2d2243c820d0ef222d to your computer and use it in GitHub Desktop.
eslint config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| /* | |
| packages: | |
| @typescript-eslint/eslint-plugin | |
| @typescript-eslint/parser | |
| eslint | |
| eslint-config-prettier | |
| eslint-plugin-react | |
| eslint-plugin-react-hooks | |
| eslint-plugin-jsx-a11y | |
| */ | |
| { | |
| "env": { | |
| "browser": true, | |
| "es2021": true, | |
| "node": true | |
| }, | |
| "extends": [ | |
| "eslint:recommended", | |
| "plugin:react/recommended", | |
| "plugin:react-hooks/recommended", | |
| "plugin:jsx-a11y/recommended", | |
| "prettier" | |
| ], | |
| "parser": "@typescript-eslint/parser", | |
| "parserOptions": { | |
| "ecmaFeatures": { | |
| "jsx": true | |
| }, | |
| "ecmaVersion": 2021, | |
| "sourceType": "module" | |
| }, | |
| "plugins": ["react", "@typescript-eslint"], | |
| "rules": { | |
| "no-undef": "off", | |
| "no-unused-vars": "off", | |
| "react/react-in-jsx-scope": ["off"] | |
| }, | |
| "ignorePatterns": ["**/node_modules/**", "**/dist/**", "src/generated/**"], | |
| "settings": { | |
| "react": { "version": "detect" } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment