-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update prettier * apply format * fix * retry
- Loading branch information
Showing
6 changed files
with
3,379 additions
and
3,580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
npx --no-install lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,24 +20,15 @@ | |
"build": "textlint-scripts build", | ||
"lint": "eslint --fix src test", | ||
"unittest": "textlint-scripts test", | ||
"prettier": "prettier --write \"**/*.{js,json,md}\"", | ||
"prepublish": "npm run --if-present build", | ||
"prepublish": "yarn run --if-present build", | ||
"test": "npm-run-all lint unittest", | ||
"watch": "textlint-scripts build --watch" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
"watch": "textlint-scripts build --watch", | ||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"", | ||
"prepare": "git config --local core.hooksPath .githooks" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier", | ||
"git add" | ||
], | ||
"*.json": [ | ||
"prettier", | ||
"git add" | ||
"*.{js,jsx,ts,tsx,css}": [ | ||
"prettier --write" | ||
] | ||
}, | ||
"dependencies": { | ||
|
@@ -50,21 +41,26 @@ | |
"textlint-rule-helper": "^2.1.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.5.1", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-prettier": "^6.4.0", | ||
"eslint": "^8.25.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-immutable": "^1.0.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"husky": "^3.0.9", | ||
"lint-staged": "^9.4.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"lint-staged": "^13.0.3", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.18.2", | ||
"textlint": "^11.4.0", | ||
"textlint-scripts": "^3.0.0", | ||
"textlint-tester": "^5.1.10" | ||
"prettier": "^2.7.1", | ||
"textlint": "^12.2.2", | ||
"textlint-scripts": "^12.2.2", | ||
"textlint-tester": "^12.2.2" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"packageManager": "[email protected]" | ||
"packageManager": "[email protected]", | ||
"prettier": { | ||
"singleQuote": false, | ||
"printWidth": 120, | ||
"tabWidth": 4, | ||
"trailingComma": "none" | ||
} | ||
} |
Oops, something went wrong.