.eslintrc 768 B

1234567891011121314151617181920
  1. {
  2. "parser": "@typescript-eslint/parser",
  3. "parserOptions": {
  4. "ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
  5. "sourceType": "module", // Allows for the use of imports,
  6. "ecmaFeatures": {
  7. "jsx": true // Allows for the parsing of JSX
  8. }
  9. },
  10. "extends": [
  11. "plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
  12. "plugin:@typescript-eslint/recommended",
  13. "prettier/@typescript-eslint",
  14. "plugin:prettier/recommended"
  15. ],
  16. "rules": {
  17. // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
  18. // e.g. "@typescript-eslint/explicit-function-return-type": "off",
  19. }
  20. }