Skip to content

Commit

Permalink
Merge pull request #68 from nickovchinnikov/nick/eslint
Browse files Browse the repository at this point in the history
Add script lint + add eslint-plugin-storybook
  • Loading branch information
nickovchinnikov authored Feb 7, 2022
2 parents 89053e6 + 7e51b8c commit c004658
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:@typescript-eslint/recommended',
'plugin:storybook/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@

[Pull request](https://github.com/nickovchinnikov/minesweeper/pull/1)

### Code-style and Eslint
### Code-style and Eslint
### Prettier

[Pull request](https://github.com/nickovchinnikov/minesweeper/pull/2)

#### Add script lint + eslint-plugin-storybook
[Pull request 2](https://github.com/nickovchinnikov/minesweeper/pull/68)

## Section: Typescript recap

### Typescript basic
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"watch": "webpack --watch --mode=development",
"start": "webpack serve --mode=development",
"test": "jest",
"lint": "npx eslint ./ --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore --fix",
"test:mutate": "stryker run",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
Expand Down Expand Up @@ -67,6 +68,7 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.5.6",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"jest": "^27.4.0",
Expand Down

0 comments on commit c004658

Please sign in to comment.