add prettier, update a few rules

This commit is contained in:
RingOfStorms (Joshua Bell) 2021-05-06 16:24:46 -05:00
parent c52a6a5d93
commit 71c67f66de
No known key found for this signature in database
GPG key ID: 674883DFE7C77047
8 changed files with 164 additions and 50 deletions

View file

@ -1,22 +1,21 @@
{
"name": "@ringofstorms/eslint-config",
"version": "0.1.0",
"version": "0.2.0",
"description": "Opinionated eslint configuration for node typescript projects",
"main": "base.js",
"main": "src/index.js",
"files": [
"src",
"base.js",
"react.js"
"react.js",
"prettier.js"
],
"author": "Josh (RingOfStorms)",
"license": "ISC",
"dependencies": {
"@typescript-eslint/parser": ">= 4",
"eslint-config-prettier": ">= 7",
"eslint-config-react": ">= 1",
"eslint-import-resolver-typescript": ">= 2"
},
"peerDependencies": {
"@typescript-eslint/parser": ">= 4",
"eslint-config-prettier": ">=8",
"eslint-config-react": ">= 1",
"eslint-import-resolver-typescript": ">= 2",
"@typescript-eslint/eslint-plugin": ">= 4",
"eslint": ">= 7",
"eslint-plugin-eslint-comments": ">= 3",
@ -26,9 +25,13 @@
"prettier": ">= 2",
"eslint-plugin-css-modules": ">= 2",
"eslint-plugin-react": ">= 7",
"eslint-plugin-react-hooks": ">= 3"
"eslint-plugin-react-hooks": ">=4"
},
"devDependencies": {
"@typescript-eslint/parser": ">= 4",
"eslint-config-prettier": ">=8",
"eslint-config-react": ">= 1",
"eslint-import-resolver-typescript": ">= 2",
"@typescript-eslint/eslint-plugin": ">= 4",
"eslint": ">= 7",
"eslint-plugin-eslint-comments": ">= 3",
@ -38,7 +41,7 @@
"prettier": ">= 2",
"eslint-plugin-css-modules": ">= 2",
"eslint-plugin-react": ">= 7",
"eslint-plugin-react-hooks": ">= 3"
"eslint-plugin-react-hooks": ">=4"
},
"repository": {
"type": "git",
@ -55,5 +58,6 @@
"backend",
"code",
"style"
]
],
"dependencies": {}
}