1234567891011121314151617181920 |
- {
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
- "sourceType": "module", // Allows for the use of imports,
- "ecmaFeatures": {
- "jsx": true // Allows for the parsing of JSX
- }
- },
- "extends": [
- "plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
- "plugin:@typescript-eslint/recommended",
- "prettier/@typescript-eslint",
- "plugin:prettier/recommended"
- ],
- "rules": {
- // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
- // e.g. "@typescript-eslint/explicit-function-return-type": "off",
- }
- }
|