svgr/.eslintrc.json
Greg Bergé 16664327ab
feat(typescript): add types everywhere (#611)
The whole codebase has been rewritten to TypeScript.

BREAKING CHANGE: template signature has changed
2021-10-31 09:49:38 +01:00

27 lines
599 B
JSON

{
"root": true,
"env": {
"node": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:react/recommended"
],
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/ban-types": "warn",
"react/prop-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}