Skip to content

[WIP] Add translation style linter For Japanese #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10.16.x'
- name: install packages
run: npm install
- name: lint
run: npm run lint
16 changes: 16 additions & 0 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"rules": {
"preset-jtf-style": {
"1.1.3.箇条書き": false,
"2.1.5.カタカナ": false,
"2.1.6.カタカナの長音": false,
"3.1.1.全角文字と半角文字の間": false,
"3.1.2.全角文字どうし": false,
"4.2.6.ハイフン(-)": false,
"4.2.7.コロン(:)": false,
"4.3.1.丸かっこ()": false,
"4.3.2.大かっこ[]": false,
"4.3.7.山かっこ<>": false
}
}
}
Loading