mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-02-13 10:47:40 +00:00
chore: add fix script and update prettier for dotfiles (#422)
* fix: missing newline * chore: add eclint and npm-run-all + fixing scripts * chore: remove eclint as it's vulnerable
This commit is contained in:
@@ -41,10 +41,11 @@
|
||||
"scripts": {
|
||||
"eslint:fix": "eslint '**/*.{js,tsx,ts,mjs,cjs}' --fix",
|
||||
"eslint:report": "eslint '**/*.{js,tsx,ts,mjs,cjs}'",
|
||||
"fix": "run-s prettier:fix eslint:fix markdownlint:fix",
|
||||
"markdownlint:fix": "markdownlint '**/*.md' --fix",
|
||||
"markdownlint:report": "markdownlint '**/*.md'",
|
||||
"prettier:fix": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --write",
|
||||
"prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' --check"
|
||||
"prettier:fix": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' '.*.{js,mjs,cjs,json}' --write",
|
||||
"prettier:report": "prettier '**/*.{js,tsx,ts,json,mjs,cjs}' '.*.{js,mjs,cjs,json}' --check"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ivuorinen/browserslist-config": "^0.4.4",
|
||||
@@ -54,6 +55,7 @@
|
||||
"@ivuorinen/prettier-config": "^0.3.8",
|
||||
"@ivuorinen/semantic-release-config": "^0.3.9",
|
||||
"@types/node": "*",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"simple-git-hooks": "^2.8.1",
|
||||
"typescript": ">=4.2.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user