Skip to content

Commit

Permalink
Remove prop types fixtures (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
billyjanitsch authored Nov 13, 2024
1 parent 8c2e0fb commit 6703825
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 111 deletions.
45 changes: 0 additions & 45 deletions tests/__snapshots__/config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -120,51 +120,6 @@ exports[`lints all fixtures > jsdoc.ts 1`] = `
]
`;

exports[`lints all fixtures > prop-types.js 1`] = `
[
{
"column": 5,
"line": 9,
"message": "'propWithoutPropType' is missing in props validation",
"rule": "react/prop-types",
"severity": 2,
},
{
"column": 3,
"line": 27,
"message": "'unusedProp' PropType is defined but prop is never used",
"rule": "react/no-unused-prop-types",
"severity": 2,
},
{
"column": 3,
"line": 32,
"message": "defaultProp "requiredPropWithDefault" defined for isRequired propType.",
"rule": "react/default-props-match-prop-types",
"severity": 2,
},
]
`;

exports[`lints all fixtures > prop-types.tsx 1`] = `
[
{
"column": 16,
"line": 3,
"message": "Missing return type on function.",
"rule": "@typescript-eslint/explicit-function-return-type",
"severity": 2,
},
{
"column": 3,
"line": 32,
"message": "defaultProp "requiredPropWithDefault" defined for isRequired propType.",
"rule": "react/default-props-match-prop-types",
"severity": 2,
},
]
`;

exports[`lints all fixtures > syntax.tsx 1`] = `[]`;

exports[`lints all fixtures > ts-exports.ts 1`] = `[]`;
Expand Down
33 changes: 0 additions & 33 deletions tests/fixtures/prop-types.js

This file was deleted.

33 changes: 0 additions & 33 deletions tests/fixtures/prop-types.tsx

This file was deleted.

0 comments on commit 6703825

Please sign in to comment.