41 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			968 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{
 | 
						|
    "parser": "@typescript-eslint/parser",
 | 
						|
    "parserOptions": {
 | 
						|
      "project": "./tsconfig.json"
 | 
						|
    },
 | 
						|
    "plugins": [
 | 
						|
      "css-modules",
 | 
						|
      "suggest-no-throw",
 | 
						|
    ],
 | 
						|
    "extends": [
 | 
						|
      "react-app",
 | 
						|
      "react-app/jest",
 | 
						|
      "plugin:css-modules/recommended"
 | 
						|
    ],
 | 
						|
    "rules": {
 | 
						|
      "semi": [
 | 
						|
        "error",
 | 
						|
        "never"
 | 
						|
      ],
 | 
						|
      "react-hooks/exhaustive-deps": "off",
 | 
						|
      "suggest-no-throw/suggest-no-throw": "warn",
 | 
						|
    },
 | 
						|
    "overrides": [
 | 
						|
      {
 | 
						|
        "files": ["e2e/**/*.ts"], // Update the pattern based on your file structure
 | 
						|
        "rules": {
 | 
						|
          "@typescript-eslint/no-floating-promises": "warn",
 | 
						|
          "suggest-no-throw/suggest-no-throw": "off",
 | 
						|
          "testing-library/prefer-screen-queries": "off",
 | 
						|
          "jest/valid-expect": "off"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "files": ["src/**/*.test.ts"],
 | 
						|
        "rules": {
 | 
						|
          "suggest-no-throw/suggest-no-throw": "off",
 | 
						|
        }
 | 
						|
      }
 | 
						|
    ]
 | 
						|
}
 |