Skip to content

Commit

Permalink
Add Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
WezomDev committed Sep 17, 2020
1 parent 26318f9 commit 60b7ba0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package-lock.json

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

16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
".eslintrc.js"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "prettier .eslintrc.js --check --write"
},
"repository": {
"type": "git",
Expand All @@ -20,6 +21,16 @@
"url": "https://github.com/WezomAgency/eslint-config-wezom-relax-react-ts/issues"
},
"homepage": "https://github.com/WezomAgency/eslint-config-wezom-relax-react-ts#readme",
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"useTabs": true
},
"dependencies": {
"eslint-config-react-app": "^5.2.1",
"eslint-config-wezom-relax-ts": "^1.2.1-beta"
Expand All @@ -32,5 +43,8 @@
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-react-hooks": "^4.1.0"
},
"devDependencies": {
"prettier": "^2.1.2"
}
}

0 comments on commit 60b7ba0

Please sign in to comment.