Skip to content

Commit 77501cc

Browse files
committed
chore(deps): Update deps
1 parent 4e5b502 commit 77501cc

File tree

8 files changed

+104
-56
lines changed

8 files changed

+104
-56
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: test
2+
on: [push, pull_request]
3+
env:
4+
CI: true
5+
jobs:
6+
test:
7+
name: "Test on Node.js ${{ matrix.node-version }}"
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node-version: [10, 12, 14]
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v2
15+
- name: setup Node.js ${{ matrix.node-version }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- name: Install
20+
run: yarn install
21+
- name: Test
22+
run: yarn test

.mocharc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": [
3+
"textlint-scripts/register"
4+
]
5+
}

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,25 @@
1-
# textlint-rule-no-dropping-the-ra [![Build Status](https://travis-ci.org/textlint-ja/textlint-rule-no-dropping-the-ra.svg?branch=master)](https://travis-ci.org/textlint-ja/textlint-rule-no-dropping-the-ra) [![Gitter](https://badges.gitter.im/textlint-ja/textlint-ja.svg)](https://gitter.im/textlint-ja/textlint-ja)
1+
# textlint-rule-no-dropping-the-ra [![Actions Status: test](https://github.com/textlint-ja/textlint-rule-no-dropping-the-ra/workflows/test/badge.svg)](https://github.com/textlint-ja/textlint-rule-no-dropping-the-ra/actions?query=workflow%3A"test")
22

33
ら抜き言葉を検出する[textlint](https://github.com/textlint/textlint "textlint")ルールです。
44

5-
- ◯ お刺身を食べられない
6-
- ✗ お刺身を食べれない。
5+
**OK**:
76

7+
```
8+
お刺身を食べられない。
9+
見られる
10+
出られる
11+
来られる
12+
```
13+
14+
**NG**:
15+
16+
```
17+
お刺身を食べれない。
18+
女の子が出れないんです
19+
この距離からでも見れる。
20+
今日は来れる?
21+
女の子が来れないんです
22+
```
823
## Installation
924

1025
npm install textlint-rule-no-dropping-the-ra

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
],
3434
"description": "ら抜き言葉を検出するtextlint rule",
3535
"devDependencies": {
36-
"husky": "^4.2.5",
37-
"lint-staged": "^10.2.11",
36+
"husky": "^4.3.0",
37+
"lint-staged": "^10.4.2",
3838
"power-assert": "^1.4.1",
39-
"prettier": "^2.0.5",
39+
"prettier": "^2.1.2",
4040
"textlint-scripts": "^3.0.0"
4141
},
4242
"dependencies": {

test/mocha.opts

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/no-double-joshi-test.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,22 @@ tester.run("no-dropping-the-ra", rule, {
4242
]
4343
},
4444
{
45-
text: "来れる",
45+
text: "今日は来れる?",
4646
errors: [
4747
{
4848
message: "ら抜き言葉を使用しています。",
4949
line: 1,
50-
column: 2
50+
column: 5
51+
}
52+
]
53+
},
54+
{
55+
text: "今日は来れる?",
56+
errors: [
57+
{
58+
message: "ら抜き言葉を使用しています。",
59+
line: 1,
60+
column: 5
5161
}
5262
]
5363
},

yarn.lock

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ cli-cursor@^3.1.0:
14531453
dependencies:
14541454
restore-cursor "^3.1.0"
14551455

1456-
cli-truncate@2.1.0, cli-truncate@^2.1.0:
1456+
cli-truncate@^2.1.0:
14571457
version "2.1.0"
14581458
resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-2.1.0.tgz#c39e28bf05edcde5be3b98992a22deed5a2b93c7"
14591459
integrity sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==
@@ -1522,10 +1522,10 @@ commander@^4.0.1:
15221522
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
15231523
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
15241524

1525-
commander@^5.1.0:
1526-
version "5.1.0"
1527-
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
1528-
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
1525+
commander@^6.0.0:
1526+
version "6.1.0"
1527+
resolved "https://registry.yarnpkg.com/commander/-/commander-6.1.0.tgz#f8d722b78103141006b66f4c7ba1e97315ba75bc"
1528+
integrity sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==
15291529

15301530
commondir@^1.0.1:
15311531
version "1.0.1"
@@ -1592,16 +1592,16 @@ core-util-is@~1.0.0:
15921592
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
15931593
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
15941594

1595-
cosmiconfig@^6.0.0:
1596-
version "6.0.0"
1597-
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982"
1598-
integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==
1595+
cosmiconfig@^7.0.0:
1596+
version "7.0.0"
1597+
resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3"
1598+
integrity sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==
15991599
dependencies:
16001600
"@types/parse-json" "^4.0.0"
1601-
import-fresh "^3.1.0"
1601+
import-fresh "^3.2.1"
16021602
parse-json "^5.0.0"
16031603
path-type "^4.0.0"
1604-
yaml "^1.7.2"
1604+
yaml "^1.10.0"
16051605

16061606
cross-spawn@^7.0.0, cross-spawn@^7.0.1:
16071607
version "7.0.3"
@@ -1774,7 +1774,7 @@ end-of-stream@^1.1.0:
17741774
dependencies:
17751775
once "^1.4.0"
17761776

1777-
enquirer@^2.3.5:
1777+
enquirer@^2.3.6:
17781778
version "2.3.6"
17791779
resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d"
17801780
integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==
@@ -1851,7 +1851,7 @@ events@^1.1.0:
18511851
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
18521852
integrity sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=
18531853

1854-
execa@^4.0.1:
1854+
execa@^4.0.3:
18551855
version "4.0.3"
18561856
resolved "https://registry.yarnpkg.com/execa/-/execa-4.0.3.tgz#0a34dabbad6d66100bd6f2c576c8669403f317f2"
18571857
integrity sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==
@@ -2227,23 +2227,23 @@ human-signals@^1.1.1:
22272227
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
22282228
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
22292229

2230-
husky@^4.2.5:
2231-
version "4.2.5"
2232-
resolved "https://registry.yarnpkg.com/husky/-/husky-4.2.5.tgz#2b4f7622673a71579f901d9885ed448394b5fa36"
2233-
integrity sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ==
2230+
husky@^4.3.0:
2231+
version "4.3.0"
2232+
resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.0.tgz#0b2ec1d66424e9219d359e26a51c58ec5278f0de"
2233+
integrity sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==
22342234
dependencies:
22352235
chalk "^4.0.0"
22362236
ci-info "^2.0.0"
22372237
compare-versions "^3.6.0"
2238-
cosmiconfig "^6.0.0"
2238+
cosmiconfig "^7.0.0"
22392239
find-versions "^3.2.0"
22402240
opencollective-postinstall "^2.0.2"
22412241
pkg-dir "^4.2.0"
22422242
please-upgrade-node "^3.2.0"
22432243
slash "^3.0.0"
22442244
which-pm-runs "^1.0.0"
22452245

2246-
import-fresh@^3.1.0:
2246+
import-fresh@^3.2.1:
22472247
version "3.2.1"
22482248
resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.2.1.tgz#633ff618506e793af5ac91bf48b72677e15cbe66"
22492249
integrity sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==
@@ -2667,39 +2667,39 @@ lines-and-columns@^1.1.6:
26672667
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
26682668
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
26692669

2670-
lint-staged@^10.2.11:
2671-
version "10.2.11"
2672-
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.2.11.tgz#713c80877f2dc8b609b05bc59020234e766c9720"
2673-
integrity sha512-LRRrSogzbixYaZItE2APaS4l2eJMjjf5MbclRZpLJtcQJShcvUzKXsNeZgsLIZ0H0+fg2tL4B59fU9wHIHtFIA==
2670+
lint-staged@^10.4.2:
2671+
version "10.4.2"
2672+
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.4.2.tgz#9fee4635c4b5ddb845746f237c6d43494ccd21c1"
2673+
integrity sha512-OLCA9K1hS+Sl179SO6kX0JtnsaKj/MZalEhUj5yAgXsb63qPI/Gfn6Ua1KuZdbfkZNEu3/n5C/obYCu70IMt9g==
26742674
dependencies:
2675-
chalk "^4.0.0"
2676-
cli-truncate "2.1.0"
2677-
commander "^5.1.0"
2678-
cosmiconfig "^6.0.0"
2675+
chalk "^4.1.0"
2676+
cli-truncate "^2.1.0"
2677+
commander "^6.0.0"
2678+
cosmiconfig "^7.0.0"
26792679
debug "^4.1.1"
26802680
dedent "^0.7.0"
2681-
enquirer "^2.3.5"
2682-
execa "^4.0.1"
2683-
listr2 "^2.1.0"
2681+
enquirer "^2.3.6"
2682+
execa "^4.0.3"
2683+
listr2 "^2.6.0"
26842684
log-symbols "^4.0.0"
26852685
micromatch "^4.0.2"
26862686
normalize-path "^3.0.0"
26872687
please-upgrade-node "^3.2.0"
26882688
string-argv "0.3.1"
26892689
stringify-object "^3.3.0"
26902690

2691-
listr2@^2.1.0:
2692-
version "2.4.1"
2693-
resolved "https://registry.yarnpkg.com/listr2/-/listr2-2.4.1.tgz#006fc94ae77b3195403cbf3a4a563e2d6366224f"
2694-
integrity sha512-8pYsCZCztr5+KAjReLyBeGhLV0vaQ2Du/eMe/ux9QAfQl7efiWejM1IWjALh0zHIRYuIbhQ8N2KztZ4ci56pnQ==
2691+
listr2@^2.6.0:
2692+
version "2.6.2"
2693+
resolved "https://registry.yarnpkg.com/listr2/-/listr2-2.6.2.tgz#4912eb01e1e2dd72ec37f3895a56bf2622d6f36a"
2694+
integrity sha512-6x6pKEMs8DSIpA/tixiYY2m/GcbgMplMVmhQAaLFxEtNSKLeWTGjtmU57xvv6QCm2XcqzyNXL/cTSVf4IChCRA==
26952695
dependencies:
26962696
chalk "^4.1.0"
26972697
cli-truncate "^2.1.0"
26982698
figures "^3.2.0"
26992699
indent-string "^4.0.0"
27002700
log-update "^4.0.0"
27012701
p-map "^4.0.0"
2702-
rxjs "^6.6.0"
2702+
rxjs "^6.6.2"
27032703
through "^2.3.8"
27042704

27052705
load-json-file@^1.0.0:
@@ -3496,10 +3496,10 @@ prelude-ls@~1.1.2:
34963496
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
34973497
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
34983498

3499-
prettier@^2.0.5:
3500-
version "2.0.5"
3501-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
3502-
integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==
3499+
prettier@^2.1.2:
3500+
version "2.1.2"
3501+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5"
3502+
integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==
35033503

35043504
process-nextick-args@~2.0.0:
35053505
version "2.0.1"
@@ -3765,10 +3765,10 @@ [email protected]:
37653765
dependencies:
37663766
glob "^7.1.3"
37673767

3768-
rxjs@^6.6.0:
3769-
version "6.6.2"
3770-
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.2.tgz#8096a7ac03f2cc4fe5860ef6e572810d9e01c0d2"
3771-
integrity sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==
3768+
rxjs@^6.6.2:
3769+
version "6.6.3"
3770+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552"
3771+
integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==
37723772
dependencies:
37733773
tslib "^1.9.0"
37743774

@@ -4584,7 +4584,7 @@ y18n@^4.0.0:
45844584
resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
45854585
integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==
45864586

4587-
yaml@^1.7.2:
4587+
yaml@^1.10.0:
45884588
version "1.10.0"
45894589
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.0.tgz#3b593add944876077d4d683fee01081bd9fff31e"
45904590
integrity sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==

0 commit comments

Comments
 (0)