mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 13:53:11 +00:00
prettier - Move prettier config from npm tasks to prettierrc.json
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"trailingComma": "es5",
|
||||||
|
"singleQuote": true
|
||||||
|
}
|
||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
"types": "lib/index",
|
"types": "lib/index",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rimraf lib && rimraf coverage",
|
"clean": "rimraf lib && rimraf coverage",
|
||||||
"format": "prettier --write \"{src,__tests__}/**/*.ts*\" --single-quote --trailing-comma es5",
|
"format": "prettier --write \"{src,__tests__}/**/*.ts*\"",
|
||||||
"lint": "tslint --force --format verbose \"src/**/*.ts*\"",
|
"lint": "tslint --force --format verbose \"src/**/*.ts*\"",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"prebuild": "npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version",
|
"prebuild": "npm run clean && npm run format && npm run lint && echo Using TypeScript && tsc --version",
|
||||||
|
|||||||
Reference in New Issue
Block a user