Skip to content

Commit

Permalink
chore(deps): add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 3, 2019
1 parent c7d9277 commit 4840bcb
Show file tree
Hide file tree
Showing 6 changed files with 2,110 additions and 1,565 deletions.
31 changes: 26 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"docs": "node tools/update-readme.js",
"prepublish": "npm run docs && npm run --if-present build",
"build": "textlint-scripts build",
"watch": "textlint-scripts build --watch"
"watch": "textlint-scripts build --watch",
"prettier": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\""
},
"repository": {
"type": "git",
Expand All @@ -30,14 +31,34 @@
"homepage": "https://github.com/textlint-ja/textlint-rule-ja-no-redundant-expression",
"devDependencies": {
"add-text-to-markdown": "^2.0.0",
"textlint-scripts": "^1.2.2"
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3",
"textlint-scripts": "^2.1.0"
},
"dependencies": {
"kuromojin": "^1.3.2",
"morpheme-match": "^1.2.1",
"morpheme-match-all": "^1.2.0"
"morpheme-match-all": "^1.2.0",
"textlint-rule-helper": "^2.1.0"
},
"keywords": [
"textlintrule"
]
}
],
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write",
"git add"
]
}
}
Loading

0 comments on commit 4840bcb

Please sign in to comment.