Skip to content

Commit

Permalink
feature/prettier_for_eslint-config-react-typescript added prettier pa…
Browse files Browse the repository at this point in the history
…ckages, edited index - eslintrc
  • Loading branch information
mykhalenych committed Feb 8, 2024
1 parent 3e64670 commit 28c1886
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 2 deletions.
2 changes: 2 additions & 0 deletions eslint-config-react-typescript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
'airbnb-typescript',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
"plugin:prettier/recommended"
],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand All @@ -23,6 +24,7 @@ module.exports = {
'react',
'react-hooks',
'@typescript-eslint',
'prettier'
],
rules: {
// JS
Expand Down
50 changes: 49 additions & 1 deletion eslint-config-react-typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion eslint-config-react-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.2.0"
"eslint-plugin-react-hooks": "^4.2.0",
"prettier": "^3.2.5"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 28c1886

Please sign in to comment.