add prettier npm script, make eslint config prettier
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"lintfix": "eslint . --fix"
|
||||
"lintfix": "eslint . --fix",
|
||||
"prettier": "prettier . --check",
|
||||
"prettierfix": "prettier . --write"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user