Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the eslint configuration to allow editors to understand it
Explicitly listing the .storybook/stories path in the package.json's `test:lint` invocation works for ensuring that things get linted as part of the CI process, but VSCode (or any other editor, for that matter) isn't aware of that and won't flag issues in these files. This leads to multiple "fix warnings" commits and releases that are not working. Instead this commit changes the .eslintignore file to explicitly un-ignore the .storybook directory as advised by eslint/eslint#12348 (comment). Note that this commit also fixes a bunch of now-reported warnings in other files that previously got excluded.
- Loading branch information
Showing
4 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
interface SvgrComponent | ||
extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters