Skip to content

Commit be64247

Browse files
committed
initial commit
0 parents  commit be64247

10 files changed

+473
-0
lines changed

.babelrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
"es2015"
4+
],
5+
"env": {
6+
"development": {
7+
"presets": [
8+
"jsdoc-to-assert",
9+
"power-assert"
10+
]
11+
}
12+
}
13+
}

.gitignore

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Node.gitignore
2+
3+
# Logs
4+
logs
5+
*.log
6+
7+
# Runtime data
8+
pids
9+
*.pid
10+
*.seed
11+
12+
# Directory for instrumented libs generated by jscoverage/JSCover
13+
lib-cov
14+
15+
# Coverage directory used by tools like istanbul
16+
coverage
17+
18+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
19+
.grunt
20+
21+
# node-waf configuration
22+
.lock-wscript
23+
24+
# Compiled binary addons (http://nodejs.org/api/addons.html)
25+
build/Release
26+
27+
# Dependency directory
28+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
29+
node_modules
30+
31+
# Debug log from npm
32+
npm-debug.log
33+
34+
35+
### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Global/JetBrains.gitignore
36+
37+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
38+
39+
*.iml
40+
41+
## Directory-based project format:
42+
.idea/
43+
# if you remove the above rule, at least ignore the following:
44+
45+
# User-specific stuff:
46+
# .idea/workspace.xml
47+
# .idea/tasks.xml
48+
# .idea/dictionaries
49+
50+
# Sensitive or high-churn files:
51+
# .idea/dataSources.ids
52+
# .idea/dataSources.xml
53+
# .idea/sqlDataSources.xml
54+
# .idea/dynamic.xml
55+
# .idea/uiDesigner.xml
56+
57+
# Gradle:
58+
# .idea/gradle.xml
59+
# .idea/libraries
60+
61+
# Mongo Explorer plugin:
62+
# .idea/mongoSettings.xml
63+
64+
## File-based project format:
65+
*.ipr
66+
*.iws
67+
68+
## Plugin-specific files:
69+
70+
# IntelliJ
71+
out/
72+
73+
# mpeltonen/sbt-idea plugin
74+
.idea_modules/
75+
76+
# JIRA plugin
77+
atlassian-ide-plugin.xml
78+
79+
# Crashlytics plugin (for Android Studio and IntelliJ)
80+
com_crashlytics_export_strings.xml
81+
crashlytics.properties
82+
crashlytics-build.properties
83+
84+
85+
/lib

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sudo: false
2+
language: node_js
3+
node_js: "stable"

LICENSE

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2016 azu
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

README.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# textlint-rule-ja-no-weak-phrase
2+
3+
弱い表現の利用を禁止するtextlintルール
4+
5+
- 〜かもしれない
6+
- 〜と思う
7+
- 〜と思います。
8+
- 可能性を示唆する
9+
10+
など
11+
12+
## Install
13+
14+
npm install textlint-rule-ja-no-weak-phrase
15+
16+
## Usage
17+
18+
Via `.textlintrc`(Recommended)
19+
20+
```json
21+
{
22+
"rules": {
23+
"ja-no-weak-phrase": true
24+
}
25+
}
26+
```
27+
28+
Via CLI
29+
30+
```
31+
textlint --rule ja-no-weak-phrase README.md
32+
```
33+
34+
## 参考
35+
36+
- [continuous-manual-writing/writing-guideline: 「ドキュメント作成システム構築ガイド」の執筆者が従う規約](https://github.com/continuous-manual-writing/writing-guideline "continuous-manual-writing/writing-guideline: 「ドキュメント作成システム構築ガイド」の執筆者が従う規約")
37+
- [卒・修論に見られる良くない表現](https://www.sci.hokudai.ac.jp/~minobe/class/bad_expressions.htm "卒・修論に見られる良くない表現")
38+
39+
## Changelog
40+
41+
See [Releases page](https://github.com/azu/textlint-rule-ja-no-weak-phrase/releases).
42+
43+
## Running tests
44+
45+
Install devDependencies and Run `npm test`:
46+
47+
npm i -d && npm test
48+
49+
## Contributing
50+
51+
Pull requests and stars are always welcome.
52+
For bugs and feature requests, [please create an issue](https://github.com/azu/textlint-rule-ja-no-weak-phrase/issues).
53+
54+
1. Fork it!
55+
2. Create your feature branch: `git checkout -b my-new-feature`
56+
3. Commit your changes: `git commit -am 'Add some feature'`
57+
4. Push to the branch: `git push origin my-new-feature`
58+
5. Submit a pull request :D
59+
60+
## Author
61+
62+
- [github/azu](https://github.com/azu)
63+
- [twitter/azu_re](http://twitter.com/azu_re)
64+
65+
## License
66+
67+
MIT © azu

package.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"name": "textlint-rule-ja-no-weak-phrase",
3+
"repository": {
4+
"type": "git",
5+
"url": "https://github.com/azu/textlint-rule-ja-no-weak-phrase.git"
6+
},
7+
"author": "azu",
8+
"email": "[email protected]",
9+
"homepage": "https://github.com/azu/textlint-rule-ja-no-weak-phrase",
10+
"license": "MIT",
11+
"bugs": {
12+
"url": "https://github.com/azu/textlint-rule-ja-no-weak-phrase/issues"
13+
},
14+
"files": [
15+
"src/",
16+
"lib/"
17+
],
18+
"version": "1.0.0",
19+
"description": "弱い表現を禁止するtextlintルール",
20+
"main": "lib/textlint-rule-ja-no-weak-phrase.js",
21+
"directories": {
22+
"test": "test"
23+
},
24+
"scripts": {
25+
"test": "mocha test/",
26+
"build": "NODE_ENV=production babel src --out-dir lib --source-maps",
27+
"watch": "babel src --out-dir lib --watch --source-maps",
28+
"prepublish": "npm run --if-present build"
29+
},
30+
"keywords": [
31+
"textlint",
32+
"rule",
33+
"japanese"
34+
],
35+
"devDependencies": {
36+
"babel-cli": "^6.9.0",
37+
"babel-preset-es2015": "^6.9.0",
38+
"babel-preset-jsdoc-to-assert": "^2.0.1",
39+
"babel-preset-power-assert": "^1.0.0",
40+
"babel-register": "^6.9.0",
41+
"mocha": "^2.5.3",
42+
"power-assert": "^1.4.1",
43+
"textlint-tester": "^1.2.0"
44+
},
45+
"dependencies": {
46+
"kuromojin": "^1.3.0",
47+
"morpheme-match": "^1.0.1"
48+
}
49+
}

0 commit comments

Comments
 (0)