-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f706864
commit a14a268
Showing
5 changed files
with
31 additions
and
30 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
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,14 +1,16 @@ | ||
import pluginJs from '@eslint/js'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
import pluginReact from 'eslint-plugin-react'; | ||
import storybook from 'eslint-plugin-storybook'; | ||
import globals from 'globals'; | ||
import pluginJs from "@eslint/js"; | ||
import eslintConfigPrettier from "eslint-config-prettier"; | ||
import pluginReact from "eslint-plugin-react"; | ||
import storybook from "eslint-plugin-storybook"; | ||
import globals from "globals"; | ||
|
||
export default [ | ||
{ files: ['**/*.{js,mjs,cjs,jsx}'] }, | ||
{ files: ["**/*.{js,mjs,cjs,jsx}"] }, | ||
{ ignores: ["dist/**"] }, | ||
{ languageOptions: { globals: globals.browser } }, | ||
{ settings: { react: { version: "detect" } } }, | ||
pluginJs.configs.recommended, | ||
pluginReact.configs.flat.recommended, | ||
eslintConfigPrettier, | ||
...storybook.configs['flat/recommended'], | ||
...storybook.configs["flat/recommended"], | ||
]; |
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