Skip to content

Commit 688de73

Browse files
Max Summejrolfs
Max Summe
authored andcommitted
feat(config/eslintrc): turn off prop types validation for typescript
Typescript has its own mechanism for validating prop types and the react proptypes are redundant
1 parent 7b3c1f8 commit 688de73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config/helpers/eslint.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const parserRules = (typescript = false) => {
1919
'no-throw-literal': isOff(typescript),
2020
'@typescript-eslint/no-implied-eval': isOff(!typescript),
2121
'@typescript-eslint/no-throw-literal': isOff(!typescript),
22+
'react/prop-types': isOff(typescript),
2223
}
2324
}
2425

0 commit comments

Comments
 (0)