Skip to content

Commit

Permalink
Avoid checking for unknown React properties in TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjanitsch committed Sep 6, 2022
1 parent 1f5a978 commit 75858fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions __snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ exports[`lints all fixtures: emotion.tsx 1`] = `
"rule": "import/no-extraneous-dependencies",
"severity": 2,
},
{
"column": 10,
"line": 15,
"message": "Unknown property 'css' found",
"rule": "react/no-unknown-property",
"severity": 2,
},
]
`;

Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ module.exports = {
'react/no-unused-prop-types': 0,
'react/prop-types': 0,
'react/react-in-jsx-scope': 0,
'react/no-unknown-property': 0,

'default-param-last': 0,
'@typescript-eslint/default-param-last': 2,
Expand Down

0 comments on commit 75858fe

Please sign in to comment.