├── .github ├── PULL_REQUEST_TEMPLATE.md ├── titleLint.yml └── workflows │ ├── closeReleaseCandidate.yml │ ├── publishRelease.yml │ ├── startRelease.yml │ ├── test.yml │ └── titleCheck.yml ├── .gitignore ├── .husky └── commit-msg ├── .huskyrc ├── .npmignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE.md ├── README.md ├── commitlint.config.js ├── dict └── prh-idiomatic-usage.yml ├── example ├── .npmrc ├── .textlintrc ├── docs │ └── sample.md └── package.json ├── package.json ├── pnpm-lock.yaml ├── renovate.json ├── scripts └── getLatestChangelog.ts ├── src ├── @type │ └── textlint-rule-prh.d.ts ├── index.ts └── prh-rules.ts ├── test ├── .textlintrc ├── cases │ └── pass.js └── index-test.js └── tsconfig.json /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## 課題・背景 2 | 3 | 9 | 10 | ## やったこと 11 | 12 | 16 | 17 | ## やらなかったこと 18 | 19 | 23 | 24 | ## 動作確認 25 | 26 | ### 正しいと判定される想定の文章 27 | 28 | 32 | 33 | ### 誤りと判定される想定の文章 34 | 35 | 39 | -------------------------------------------------------------------------------- /.github/titleLint.yml: -------------------------------------------------------------------------------- 1 | regex: (feat|fix|docs|chore|style|refactor|perf|test)(\(.*\))*: .* 2 | exclude_users: 3 | - renovate -------------------------------------------------------------------------------- /.github/workflows/closeReleaseCandidate.yml: -------------------------------------------------------------------------------- 1 | name: close release candidate 2 | 3 | on: 4 | issues: 5 | types: 6 | - closed 7 | 8 | jobs: 9 | close_release_candidate: 10 | if: contains(github.event.issue.labels.*.name, 'release candidate') 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v4 14 | - name: delete branch 15 | run: git push origin :release-candidate 16 | -------------------------------------------------------------------------------- /.github/workflows/publishRelease.yml: -------------------------------------------------------------------------------- 1 | name: publish release 2 | 3 | on: 4 | issues: 5 | types: 6 | - labeled 7 | 8 | jobs: 9 | publish_release: 10 | if: github.event.issue.state == 'open' && contains(github.event.issue.labels.*.name, 'release candidate') && github.event.label.name == 'approve release' 11 | runs-on: ubuntu-latest 12 | env: 13 | CHANGELOG_PATH: /tmp/CHANGELOG.md 14 | IS_PRERELEASE: ${{ contains(github.event.issue.labels.*.name, 'prerelease') }} 15 | steps: 16 | - uses: actions/checkout@v4 17 | with: 18 | ref: release-candidate 19 | fetch-depth: 0 20 | - uses: actions/setup-node@v4 21 | with: 22 | node-version: 18 23 | registry-url: 'https://registry.npmjs.org' 24 | - uses: pnpm/action-setup@v4 25 | - name: git config 26 | run: | 27 | git config user.email "41898282+github-actions[bot]@users.noreply.github.com" 28 | git config user.name "github-actions[bot]" 29 | - run: pnpm install --frozen-lockfile 30 | - run: pnpm release 31 | if: ${{ env.IS_PRERELEASE == 'false' }} 32 | - run: pnpm release --prerelease 33 | if: ${{ env.IS_PRERELEASE == 'true' }} 34 | - run: pnpm publish --publish-branch release-candidate 35 | if: ${{ env.IS_PRERELEASE == 'false' }} 36 | env: 37 | NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }} 38 | - run: pnpm publish --tag prerelease --publish-branch release-candidate 39 | if: ${{ env.IS_PRERELEASE == 'true' }} 40 | env: 41 | NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }} 42 | - run: echo NEW_TAG=$(git describe) >> $GITHUB_ENV 43 | - run: git push origin $NEW_TAG 44 | - run: pnpm dlx ts-node ./scripts/getLatestChangelog.ts > ${{ env.CHANGELOG_PATH }} 45 | - name: create release on GitHub 46 | uses: actions/create-release@v1 47 | env: 48 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 49 | with: 50 | tag_name: ${{ env.NEW_TAG }} 51 | release_name: ${{ env.NEW_TAG }} 52 | body_path: ${{ env.CHANGELOG_PATH }} 53 | commitish: main 54 | prerelease: ${{ env.IS_PRERELEASE }} 55 | - name: close issue 56 | uses: peter-evans/close-issue@v3 57 | - name: delete branch 58 | run: git push origin :release-candidate 59 | - name: cherry-pick release commit 60 | run: | 61 | git checkout main 62 | git cherry-pick $NEW_TAG 63 | - name: craete pull request 64 | uses: peter-evans/create-pull-request@v7 65 | with: 66 | title: 'chore(release): ${{ env.NEW_TAG }}' 67 | branch: 'merge-release-${{ env.NEW_TAG }}' 68 | -------------------------------------------------------------------------------- /.github/workflows/startRelease.yml: -------------------------------------------------------------------------------- 1 | name: start release 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | mode: 7 | description: 'リリースモードを入力 ("normal" または "prerelease")' 8 | required: true 9 | default: '' 10 | branch_preparation: 11 | description: '前リリースタグに合流させる方法 (通常は "auto" で自動処理。コンフリクトが発生して自動マージ出来ない場合は、手動でマージしたブランチを指定した上で "manual" を入力)' 12 | required: true 13 | default: 'auto' 14 | 15 | jobs: 16 | start_release: 17 | if: | 18 | (github.event.inputs.mode == 'normal' || github.event.inputs.mode == 'prerelease') 19 | && (github.event.inputs.branch_preparation == 'auto' || github.event.inputs.branch_preparation == 'manual') 20 | runs-on: ubuntu-latest 21 | env: 22 | RESULT_PATH: /tmp/result.txt 23 | IS_PRERELEASE: ${{ github.event.inputs.mode == 'prerelease' }} 24 | NO_BRANCH_PREPARATION: ${{ github.event.inputs.branch_preparation == 'manual' }} 25 | steps: 26 | - uses: actions/checkout@v4 27 | with: 28 | fetch-depth: 0 29 | - uses: actions/setup-node@v4 30 | with: 31 | node-version: 18 32 | - uses: pnpm/action-setup@v4 33 | - name: git config 34 | run: | 35 | git config user.email "41898282+github-actions[bot]@users.noreply.github.com" 36 | git config user.name "github-actions[bot]" 37 | - name: prepare release 38 | if: ${{ env.NO_BRANCH_PREPARATION == 'false' }} 39 | run: | 40 | BASE_TAG=v$(npx -c 'echo "$npm_package_version"') 41 | git checkout $BASE_TAG 42 | git merge --no-edit ${{ github.ref }} 43 | - run: pnpm install --frozen-lockfile 44 | - name: release dry run 45 | if: ${{ env.IS_PRERELEASE == 'false' }} 46 | run: pnpm release:dryrun > ${{ env.RESULT_PATH }} 47 | - name: prerelease dry run 48 | if: ${{ env.IS_PRERELEASE == 'true' }} 49 | run: pnpm release:dryrun --prerelease > ${{ env.RESULT_PATH }} 50 | - name: wrap dry run log 51 | run: | 52 | echo "Dry Run Log: 53 | \`\`\` 54 | $(cat ${{ env.RESULT_PATH }}) 55 | \`\`\`" > ${{ env.RESULT_PATH }} 56 | - name: push branch 57 | run: | 58 | git checkout -b release-candidate 59 | git push origin release-candidate 60 | - name: release issue labels 61 | if: ${{ env.IS_PRERELEASE == 'false' }} 62 | run: echo ISSUE_LABELS='release candidate' >> $GITHUB_ENV 63 | - name: prerelease issue labels 64 | if: ${{ env.IS_PRERELEASE == 'true' }} 65 | run: echo ISSUE_LABELS='release candidate, prerelease' >> $GITHUB_ENV 66 | - name: create issue 67 | uses: peter-evans/create-issue-from-file@v5 68 | with: 69 | title: Release candidate 70 | content-filepath: ${{ env.RESULT_PATH }} 71 | labels: ${{ env.ISSUE_LABELS }} 72 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: 7 | 8 | jobs: 9 | build-publish: 10 | runs-on: ubuntu-latest 11 | 12 | steps: 13 | - name: Checkout 14 | uses: actions/checkout@v4 15 | with: 16 | fetch-depth: 0 17 | 18 | - name: Setup NodeJS 18 19 | uses: actions/setup-node@v4 20 | with: 21 | node-version: 18 22 | 23 | - name: Setup pnpm 24 | uses: pnpm/action-setup@v4 25 | 26 | - name: Install dependencies 27 | run: pnpm install 28 | 29 | - name: Test 30 | run: pnpm test 31 | 32 | - name: Build 33 | run: pnpm build 34 | -------------------------------------------------------------------------------- /.github/workflows/titleCheck.yml: -------------------------------------------------------------------------------- 1 | name: PR Title Check 2 | 3 | on: 4 | pull_request: 5 | types: [opened, edited, synchronize, reopened] 6 | 7 | jobs: 8 | conventional_commits: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - name: check title 12 | env: 13 | TITLE: ${{ github.event.pull_request.title }} 14 | run: | 15 | regex="^(feat|fix|docs|chore|style|refactor|perf|test)!?(\([^\)]+\))?:[[:space:]].+" 16 | if [[ "${TITLE}" =~ $regex ]]; then 17 | echo OK 18 | else 19 | echo "::error::Pull Request のタイトルが Conventional Commits 形式にマッチしません" 20 | exit 1 21 | fi 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Node.gitignore 2 | /lib 3 | 4 | # Logs 5 | logs 6 | *.log 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | 13 | # Directory for instrumented libs generated by jscoverage/JSCover 14 | lib-cov 15 | 16 | # Coverage directory used by tools like istanbul 17 | coverage 18 | 19 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 20 | .grunt 21 | 22 | # node-waf configuration 23 | .lock-wscript 24 | 25 | # Compiled binary addons (http://nodejs.org/api/addons.html) 26 | build/Release 27 | 28 | # Dependency directory 29 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- 30 | node_modules 31 | 32 | # Debug log from npm 33 | npm-debug.log 34 | 35 | 36 | ### https://raw.github.com/github/gitignore/608690d6b9a78c2a003affc792e49a84905b3118/Global/JetBrains.gitignore 37 | 38 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm 39 | 40 | *.iml 41 | 42 | ## Directory-based project format: 43 | .idea/ 44 | # if you remove the above rule, at least ignore the following: 45 | 46 | # User-specific stuff: 47 | # .idea/workspace.xml 48 | # .idea/tasks.xml 49 | # .idea/dictionaries 50 | 51 | # Sensitive or high-churn files: 52 | # .idea/dataSources.ids 53 | # .idea/dataSources.xml 54 | # .idea/sqlDataSources.xml 55 | # .idea/dynamic.xml 56 | # .idea/uiDesigner.xml 57 | 58 | # Gradle: 59 | # .idea/gradle.xml 60 | # .idea/libraries 61 | 62 | # Mongo Explorer plugin: 63 | # .idea/mongoSettings.xml 64 | 65 | ## File-based project format: 66 | *.ipr 67 | *.iws 68 | 69 | ## Plugin-specific files: 70 | 71 | # IntelliJ 72 | out/ 73 | 74 | # mpeltonen/sbt-idea plugin 75 | .idea_modules/ 76 | 77 | # JIRA plugin 78 | atlassian-ide-plugin.xml 79 | 80 | # Crashlytics plugin (for Android Studio and IntelliJ) 81 | com_crashlytics_export_strings.xml 82 | crashlytics.properties 83 | crashlytics-build.properties 84 | 85 | # use pnpm 86 | package-lock.json 87 | 88 | # env 89 | .env 90 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx --no-install commitlint --edit "" 5 | -------------------------------------------------------------------------------- /.huskyrc: -------------------------------------------------------------------------------- 1 | { 2 | "hooks": { 3 | "pre-commit": "lint-staged", 4 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | #directory 2 | /src 3 | /test 4 | 5 | #build files 6 | tsconfig.json 7 | 8 | #editor settings 9 | .prettierignore 10 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | ## Ignore files 2 | *.md 3 | *.mdx 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all", 4 | "semi": false, 5 | "printWidth": 130 6 | } 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. 4 | 5 | ## [1.35.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.34.1...v1.35.0) (2025-04-17) 6 | 7 | 8 | ### Features 9 | 10 | * textlint-rule-no-nfd を有効にする ([#658](https://github.com/kufu/textlint-rule-preset-smarthr/issues/658)) ([4870757](https://github.com/kufu/textlint-rule-preset-smarthr/commit/4870757a67107308341a509ad0a7b515624cca87)) 11 | 12 | ### [1.34.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.34.0...v1.34.1) (2025-04-11) 13 | 14 | ### Bug Fixes 15 | 16 | * 「?」や「!」の直後に{が続く場合も許容する ([#653](https://github.com/kufu/textlint-rule-preset-smarthr/issues/653)) ([afdba0a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/afdba0a168c64a84a21d20d0fcb31b8bba32c103)) 17 | 18 | ## [1.34.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.33.0...v1.34.0) (2025-03-25) 19 | 20 | 21 | ### Features 22 | 23 | *  「マスター」に関するルールに評価記号マスターを追加 ([#636](https://github.com/kufu/textlint-rule-preset-smarthr/issues/636)) ([958a13b](https://github.com/kufu/textlint-rule-preset-smarthr/commit/958a13b6d022d1eeeecee177552de0fa2119d7bc)) 24 | * 「マスター」に関するルールに「給与支給形態マスター」を追加 ([#639](https://github.com/kufu/textlint-rule-preset-smarthr/issues/639)) ([40b82a4](https://github.com/kufu/textlint-rule-preset-smarthr/commit/40b82a4952b722a5d17d70396901646496947f5c)) 25 | 26 | ### Bug Fixes 27 | 28 | * 「?」「!」のあとに全角スペースがない文章を検出するルールがJSXファイルで誤検知する ([#638](https://github.com/kufu/textlint-rule-preset-smarthr/issues/638)) ([eac5e23](https://github.com/kufu/textlint-rule-preset-smarthr/commit/eac5e23fce9f7c74b7d29ccef6605e0cd461c77c)) 29 | 30 | ## [1.33.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.32.2..v1.33.0) (2025-03-12) 31 | 32 | ### Features 33 | 34 | * 「?」「!」のあとに全角スペースがない文章を検出する ([#621](https://github.com/kufu/textlint-rule-preset-smarthr/issues/621)) ([46975d4](https://github.com/kufu/textlint-rule-preset-smarthr/commit/46975d412a5cb3365382e93b0a3823989422eaa2)) 35 | 36 | ### Bug Fixes 37 | 38 | * 全角の「?」と「!」のあとに、`"`または`"`が続く場合も許容する ([#631](https://github.com/kufu/textlint-rule-preset-smarthr/issues/631)) ([0ce4c71](https://github.com/kufu/textlint-rule-preset-smarthr/commit/0ce4c71d937b656dde81302358225331f6d11de3)) 39 | 40 | ### [1.32.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.32.1...v1.32.2) (2025-02-20) 41 | 42 | ### Features 43 | 44 | * 「マスター」に関するルール追加 ([#616](https://github.com/kufu/textlint-rule-preset-smarthr/issues/616)) ([65b4c09](https://github.com/kufu/textlint-rule-preset-smarthr/commit/65b4c0941431c889fa51d8859a83b4bf5b2b2976)) 45 | 46 | ### Bug Fixes 47 | 48 | * pnpm publish時にブランチを指定 ([#578](https://github.com/kufu/textlint-rule-preset-smarthr/issues/578)) ([9e5e4a7](https://github.com/kufu/textlint-rule-preset-smarthr/commit/9e5e4a7ca2b9bf9451210267069d3ebcba3870bd)) 49 | 50 | ### [1.32.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.32.0...v1.32.1) (2024-11-19) 51 | 52 | ## [1.32.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.31.0...v1.32.0) (2024-08-21) 53 | 54 | 55 | ### Features 56 | 57 | * Airtableの最新ルールを反映 ([#541](https://github.com/kufu/textlint-rule-preset-smarthr/issues/541)) ([619e989](https://github.com/kufu/textlint-rule-preset-smarthr/commit/619e9893db37efe4d15044082ab4dfb03da49375)) 58 | 59 | 60 | ### Bug Fixes 61 | 62 | * security fix ([#522](https://github.com/kufu/textlint-rule-preset-smarthr/issues/522)) ([91d9e35](https://github.com/kufu/textlint-rule-preset-smarthr/commit/91d9e350f0f45da312cb915bb835f73a965f7db3)) 63 | 64 | ## [1.31.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.30.0...v1.31.0) (2024-06-26) 65 | 66 | 67 | ### Features 68 | 69 | * 「押下する」を禁止する ([#515](https://github.com/kufu/textlint-rule-preset-smarthr/issues/515)) ([291263a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/291263ab8f381fcd017d1e09f2bdbdc66bbfe084)), closes [/smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0](https://github.com/kufu//smarthr.design/products/contents/idiomatic-usage/usage//issues/recVAeJr4Di3vQHeA-0) 70 | 71 | ## [1.30.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.29.0...v1.30.0) (2024-05-17) 72 | 73 | 74 | ### Features 75 | 76 | * 「頂く」の活用を追加 ([#506](https://github.com/kufu/textlint-rule-preset-smarthr/issues/506)) ([d2c27fa](https://github.com/kufu/textlint-rule-preset-smarthr/commit/d2c27fa2d295e970e75a271968eb552361506643)) 77 | 78 | ## [1.29.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.28.0...v1.29.0) (2024-04-23) 79 | 80 | 81 | ### Features 82 | 83 | * 文書配付、シミュレーション、係わらずと無い、頂くの活用を追加 ([#497](https://github.com/kufu/textlint-rule-preset-smarthr/issues/497)) ([dea4a70](https://github.com/kufu/textlint-rule-preset-smarthr/commit/dea4a7050a8fc928f0ef05ce7d9c637080eb177c)) 84 | 85 | ## [1.28.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.27.0...v1.28.0) (2023-10-20) 86 | 87 | 88 | ### Features 89 | 90 | * Airtableの最新ルールを反映 ([#405](https://github.com/kufu/textlint-rule-preset-smarthr/issues/405)) ([37b4873](https://github.com/kufu/textlint-rule-preset-smarthr/commit/37b487369469c6dbd6bd6848bfa710c52f39a074)) 91 | 92 | ## [1.27.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.26.0...v1.27.0) (2023-08-28) 93 | 94 | 95 | ### Features 96 | 97 | * Airtableの最新ルールを反映 ([#386](https://github.com/kufu/textlint-rule-preset-smarthr/issues/386)) ([b61506a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b61506af9eb536361f05d97d333624f384b40012)) 98 | 99 | ## [1.26.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.25.0...v1.26.0) (2023-08-15) 100 | 101 | 102 | ### Features 103 | 104 | * Airtableの最新ルールを反映 ([#375](https://github.com/kufu/textlint-rule-preset-smarthr/issues/375)) ([a7f2a6e](https://github.com/kufu/textlint-rule-preset-smarthr/commit/a7f2a6e48c415ec1846ada81f261ba424c6af7b9)) 105 | 106 | ## [1.25.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.24.0...v1.25.0) (2023-07-05) 107 | 108 | 109 | ### Features 110 | 111 | * Airtableの最新ルールを反映 ([#363](https://github.com/kufu/textlint-rule-preset-smarthr/issues/363)) ([f0d4e74](https://github.com/kufu/textlint-rule-preset-smarthr/commit/f0d4e74975dfbb6d34b4462bc8bd7bd30f58a392)) 112 | 113 | ## [1.24.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.23.2...v1.24.0) (2023-06-12) 114 | 115 | 116 | ### Features 117 | 118 | * Airtableの最新ルールを反映 ([#347](https://github.com/kufu/textlint-rule-preset-smarthr/issues/347)) ([0a4089f](https://github.com/kufu/textlint-rule-preset-smarthr/commit/0a4089fd5ceac62bf45de08b86b3090c92d97810)) 119 | 120 | 121 | ### Bug Fixes 122 | 123 | * devDependenciesにtextlintを追加 ([#345](https://github.com/kufu/textlint-rule-preset-smarthr/issues/345)) ([a6c5194](https://github.com/kufu/textlint-rule-preset-smarthr/commit/a6c5194698367a75f958954945bdb80302717310)) 124 | * publesh_releaseワークフローで使用するNodeのバージョンを14→16にアプデ ([#351](https://github.com/kufu/textlint-rule-preset-smarthr/issues/351)) ([54cd871](https://github.com/kufu/textlint-rule-preset-smarthr/commit/54cd871477e211c2b4103b7a86504772daabedd1)) 125 | * リリース用ワークフローで使用するNodeのバージョンを14→16にアプデ ([#349](https://github.com/kufu/textlint-rule-preset-smarthr/issues/349)) ([1c8e73c](https://github.com/kufu/textlint-rule-preset-smarthr/commit/1c8e73c1206e4dbce16fb7e176803669682335c6)) 126 | 127 | ### [1.23.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.23.1...v1.23.2) (2023-05-15) 128 | 129 | ### [1.23.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.23.0...v1.23.1) (2023-04-04) 130 | 131 | 132 | ### Bug Fixes 133 | 134 | * 「解す」の誤検知を修正 ([#325](https://github.com/kufu/textlint-rule-preset-smarthr/issues/325)) ([697d653](https://github.com/kufu/textlint-rule-preset-smarthr/commit/697d65350250d7658f7d08926b0763172640e635)) 135 | 136 | ## [1.23.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.22.0...v1.23.0) (2023-03-24) 137 | 138 | 139 | ### Features 140 | 141 | * Airtableの最新ルールを反映 ([#319](https://github.com/kufu/textlint-rule-preset-smarthr/issues/319)) ([85aeb80](https://github.com/kufu/textlint-rule-preset-smarthr/commit/85aeb80caff8182b198d408308427b41a5223e66)) 142 | 143 | ## [1.22.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.21.1...v1.22.0) (2023-03-14) 144 | 145 | 146 | ### Features 147 | 148 | * Airtableの最新ルールを反映 ([#312](https://github.com/kufu/textlint-rule-preset-smarthr/issues/312)) ([39588f7](https://github.com/kufu/textlint-rule-preset-smarthr/commit/39588f74f3a4d043ec1169aea6a71bf70c0cbaac)) 149 | 150 | 151 | ### Bug Fixes 152 | 153 | * PCの誤検知を修正 ([#313](https://github.com/kufu/textlint-rule-preset-smarthr/issues/313)) ([ffe98ae](https://github.com/kufu/textlint-rule-preset-smarthr/commit/ffe98aed6a338bc4e8f15d542126f4029b6c590c)) 154 | 155 | ### [1.21.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.21.0...v1.21.1) (2023-02-28) 156 | 157 | 158 | ### Bug Fixes 159 | 160 | * 「ひとり親」の誤検知を修正 ([#302](https://github.com/kufu/textlint-rule-preset-smarthr/issues/302)) ([a0dd157](https://github.com/kufu/textlint-rule-preset-smarthr/commit/a0dd157df20c9b418a13f080cc9a819d8613da9b)) 161 | 162 | ## [1.21.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.20.0...v1.21.0) (2023-02-28) 163 | 164 | 165 | ### Features 166 | 167 | * 依存パッケージのオートマージを設定 ([#297](https://github.com/kufu/textlint-rule-preset-smarthr/issues/297)) ([b7b5e4f](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b7b5e4f3596ad6640556f7af11c9024d7d6dfda5)) 168 | 169 | 170 | ### Bug Fixes 171 | 172 | * 「ブックマーク」の誤検知を修正 ([#294](https://github.com/kufu/textlint-rule-preset-smarthr/issues/294)) ([73d139c](https://github.com/kufu/textlint-rule-preset-smarthr/commit/73d139c82c8f042518118671c89f42ad9bbc12cb)) 173 | * 「一人ひとり」「一人称」の誤検知を修正 ([#298](https://github.com/kufu/textlint-rule-preset-smarthr/issues/298)) ([c5a83f5](https://github.com/kufu/textlint-rule-preset-smarthr/commit/c5a83f5f470ba8709caf02b456a545de8257e83b)) 174 | 175 | ## [1.20.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.19.0...v1.20.0) (2023-02-14) 176 | 177 | 178 | ### Features 179 | 180 | * Airtableの最新ルールを反映 ([#290](https://github.com/kufu/textlint-rule-preset-smarthr/issues/290)) ([d94b784](https://github.com/kufu/textlint-rule-preset-smarthr/commit/d94b78411d7c8dfbb5d48c17edd6ccf298958f17)) 181 | 182 | ## [1.19.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.18.2...v1.19.0) (2023-02-06) 183 | 184 | ### Features 185 | 186 | * Airtableの最新ルールを反映 ([#275](https://github.com/kufu/textlint-rule-preset-smarthr/issues/275)) ([2df2509](https://github.com/kufu/textlint-rule-preset-smarthr/commit/2df2509bac7c1126fb4b5ad66f1e8a026f54fadb)) 187 | * Airtableの最新ルールを反映 ([#285](https://github.com/kufu/textlint-rule-preset-smarthr/issues/285)) ([3eef74f](https://github.com/kufu/textlint-rule-preset-smarthr/commit/3eef74f3da2ff605c5828781322af104724dbc68)) 188 | 189 | ### Document Changes 190 | 191 | * Add License and CoC files ([#282](https://github.com/kufu/textlint-rule-preset-smarthr/issues/282)) ([0651e14](https://github.com/kufu/textlint-rule-preset-smarthr/commit/0651e14a7515b139fc7ce6cdecec47decbe20d6f)) 192 | 193 | ### [1.18.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.18.1...v1.18.2) (2023-01-18) 194 | 195 | ### [1.18.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.18.0...v1.18.1) (2023-01-17) 196 | 197 | ## [1.18.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.17.2...v1.18.0) (2023-01-16) 198 | 199 | 200 | ### Features 201 | 202 | * Airtableの最新ルールを反映 ([#266](https://github.com/kufu/textlint-rule-preset-smarthr/issues/266)) ([27fcb5d](https://github.com/kufu/textlint-rule-preset-smarthr/commit/27fcb5ddcd5219971076df723ecf66206b126b94)) 203 | 204 | ### [1.17.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.17.1...v1.17.2) (2023-01-10) 205 | 206 | ### Bug Fixes 207 | 208 | * 「マスター」のルールを修正 ([#265](https://github.com/kufu/textlint-rule-preset-smarthr/issues/265)) ([c4488bb](https://github.com/kufu/textlint-rule-preset-smarthr/commit/c4488bbb12419c413f7bfa5a91f1476bd14af715)) 209 | 210 | ## [1.17.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.17.0...v1.17.1) (2022-12-09) 211 | 212 | ### Bug Fixes 213 | 214 | * 「マスターデータ」のルールを修正 ([#261](https://github.com/kufu/textlint-rule-preset-smarthr/issues/261)) ([330c8b6](https://github.com/kufu/textlint-rule-preset-smarthr/pull/261/commits/330c8b6f0dc2d5fa076e41d6d201ca99365ef494)) 215 | 216 | ## [1.17.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.16.0...v1.17.0) (2022-12-05) 217 | 218 | 219 | ### Features 220 | 221 | * prh-tech-word.ymlをprh-idiomatic-usage.ymlに統合 ([#256](https://github.com/kufu/textlint-rule-preset-smarthr/issues/256)) ([7a22612](https://github.com/kufu/textlint-rule-preset-smarthr/commit/7a226122e67475490351c81a7f8c5f18315d36d4)) 222 | 223 | * Airtableの最新ルールを反映 ([#257](https://github.com/kufu/textlint-rule-preset-smarthr/issues/257)) ([28e94f7](https://github.com/kufu/textlint-rule-preset-smarthr/commit/28e94f7d1da169388cfd9838cbb06ca512392f88)) 224 | 225 | ## [1.16.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.15.3...v1.16.0) (2022-11-15) 226 | 227 | 228 | ### Features 229 | 230 | * Airtableの最新ルールを反映 ([#244](https://github.com/kufu/textlint-rule-preset-smarthr/issues/244)) ([167831f](https://github.com/kufu/textlint-rule-preset-smarthr/commit/167831ffbf72b223529f20c862e68ca42d87b1f7)) 231 | 232 | ### [1.15.3](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.15.2...v1.15.3) (2022-11-07) 233 | 234 | 235 | ### Bug Fixes 236 | 237 | * 誤検知を防ぐためja-hiragana-fukushiを利用しないよう変更 ([#237](https://github.com/kufu/textlint-rule-preset-smarthr/issues/237)) ([05f4180](https://github.com/kufu/textlint-rule-preset-smarthr/commit/05f418073f7951945a7e134b83f27749c4c7c7cc)) 238 | 239 | ### [1.15.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.15.1...v1.15.2) (2022-10-31) 240 | 241 | 242 | ### Bug Fixes 243 | 244 | * textlint-tester URL has changed ([#208](https://github.com/kufu/textlint-rule-preset-smarthr/issues/208)) ([135f025](https://github.com/kufu/textlint-rule-preset-smarthr/commit/135f025922c28ef76a6754cd038994386b3a0636)) 245 | * デザインシステム内の誤検知を解消 ([#235](https://github.com/kufu/textlint-rule-preset-smarthr/issues/235)) ([a9ebac5](https://github.com/kufu/textlint-rule-preset-smarthr/commit/a9ebac5d9c4d013fc775a750547673240e542a02)) 246 | 247 | ### [1.15.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.15.0...v1.15.1) (2022-09-27) 248 | 249 | ## [1.15.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.14.2...v1.15.0) (2022-08-30) 250 | 251 | 252 | ### Features 253 | 254 | * RenovateのPRをまとめるパッケージを変更 ([#226](https://github.com/kufu/textlint-rule-preset-smarthr/issues/226)) ([293b76a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/293b76a5569445a96441484d01dbeaf07a222190)) 255 | 256 | ### [1.14.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.14.1...v1.14.2) (2022-07-27) 257 | 258 | 259 | ### Bug Fixes 260 | 261 | * follow-up [#213](https://github.com/kufu/textlint-rule-preset-smarthr/issues/213) ([#223](https://github.com/kufu/textlint-rule-preset-smarthr/issues/223)) ([f27d78e](https://github.com/kufu/textlint-rule-preset-smarthr/commit/f27d78e2f7c8a46b2af9fe2c14e6da9e2cf2b2bf)) 262 | 263 | ### [1.14.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.14.0...v1.14.1) (2022-07-21) 264 | 265 | ## [1.14.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.5...v1.14.0) (2022-07-20) 266 | 267 | 268 | ### Features 269 | 270 | * ja-keishikimeishiのバージョン1.0.4に対応&オプション追加 ([#213](https://github.com/kufu/textlint-rule-preset-smarthr/issues/213)) ([816ce20](https://github.com/kufu/textlint-rule-preset-smarthr/commit/816ce20944b65140677fbf753e939ccb56916e5a)) 271 | 272 | ### [1.13.5](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.4...v1.13.5) (2022-07-20) 273 | 274 | ### [1.13.4](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.3...v1.13.4) (2022-06-06) 275 | 276 | ### [1.13.3](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.2...v1.13.3) (2022-05-24) 277 | 278 | 279 | ### Bug Fixes 280 | 281 | * 「行なわれる」を検知できるようにする ([#202](https://github.com/kufu/textlint-rule-preset-smarthr/issues/202)) ([42140e4](https://github.com/kufu/textlint-rule-preset-smarthr/commit/42140e45c5d4b88266e649fa5bf47cac19752c53)) 282 | 283 | ### [1.13.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.1...v1.13.2) (2022-05-20) 284 | 285 | ### [1.13.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.13.0...v1.13.1) (2022-05-17) 286 | 287 | ## [1.13.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.12.0...v1.13.0) (2022-04-15) 288 | 289 | 290 | ### Features 291 | 292 | * 「頃」に関するルールを削除する ([#189](https://github.com/kufu/textlint-rule-preset-smarthr/issues/189)) ([98e708a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/98e708abadea9d3116d2eee58b95d80c33533b7f)) 293 | 294 | ## [1.12.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.11.3...v1.12.0) (2022-03-15) 295 | 296 | 297 | ### Features 298 | 299 | * airtable出力用actionにtestを追加 ([#179](https://github.com/kufu/textlint-rule-preset-smarthr/issues/179)) ([e8b251e](https://github.com/kufu/textlint-rule-preset-smarthr/commit/e8b251eaccdefd04caa36cd95775c09b1d95c953)) 300 | 301 | ### [1.11.3](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.11.2...v1.11.3) (2022-02-24) 302 | 303 | 304 | ### Bug Fixes 305 | 306 | * "振り込み"の正規表現が正しくないので修正 ([#167](https://github.com/kufu/textlint-rule-preset-smarthr/issues/167)) ([5894411](https://github.com/kufu/textlint-rule-preset-smarthr/commit/58944111dccbf197ca66b95bc90492ce76f34ff0)) 307 | 308 | ### [1.11.2](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.11.1...v1.11.2) (2022-02-22) 309 | 310 | ### [1.11.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.11.0...v1.11.1) (2022-01-07) 311 | 312 | ## [1.11.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.10.0...v1.11.0) (2022-01-05) 313 | 314 | 315 | ### Features 316 | 317 | * airtableからprh用ymlファイルを書き出す仕組みを設定 ([#129](https://github.com/kufu/textlint-rule-preset-smarthr/issues/129)) ([33e7d84](https://github.com/kufu/textlint-rule-preset-smarthr/commit/33e7d84fec461c7378abf21b67c22565288be1c1)) 318 | * githubからAirtableのデータを出力、PRを出すアクションを追加 ([#139](https://github.com/kufu/textlint-rule-preset-smarthr/issues/139)) ([ee3e3b9](https://github.com/kufu/textlint-rule-preset-smarthr/commit/ee3e3b9240fd347884347e3d652402db73384862)) 319 | 320 | 321 | ### Bug Fixes 322 | 323 | * 「正しく」を誤検知しない ([#142](https://github.com/kufu/textlint-rule-preset-smarthr/issues/142)) ([d8aa738](https://github.com/kufu/textlint-rule-preset-smarthr/commit/d8aa738d61b993f646e432c3b5ce69d8475dcdc7)) 324 | 325 | ## [1.10.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.9.0...v1.10.0) (2021-10-25) 326 | 327 | 328 | ### Features 329 | 330 | * release作業自動化用のGithub Actionを追加 ([#121](https://github.com/kufu/textlint-rule-preset-smarthr/issues/121)) ([2eb5852](https://github.com/kufu/textlint-rule-preset-smarthr/commit/2eb5852a23cc371a8513467b644538a9fee45e79)) 331 | 332 | ## [1.9.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.7.1...v1.9.0) (2021-10-19) 333 | 334 | 335 | ### Features 336 | 337 | * 「あとで」の例外ルール追加 ([#118](https://github.com/kufu/textlint-rule-preset-smarthr/issues/118)) ([c032dc7](https://github.com/kufu/textlint-rule-preset-smarthr/commit/c032dc7dee82906ade4c89af773545a5727edb9e)) 338 | * npm test 実行時、定義中に含まれる specs の内容を検証 ([#110](https://github.com/kufu/textlint-rule-preset-smarthr/issues/110)) ([4367613](https://github.com/kufu/textlint-rule-preset-smarthr/commit/436761364989750b4d00088ef3c67dae009fcc3c)) 339 | * semantic-releaseに関連するパッケージ・ファイルの削除 ([#113](https://github.com/kufu/textlint-rule-preset-smarthr/issues/113)) ([ce7953e](https://github.com/kufu/textlint-rule-preset-smarthr/commit/ce7953e001d51b0ec6421e98f7d2cb2e4d2953c3)) 340 | 341 | 342 | ### Bug Fixes 343 | 344 | * 「同等」の「等」はエラー判定されないようにする ([#108](https://github.com/kufu/textlint-rule-preset-smarthr/issues/108)) ([b48cc49](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b48cc49eb92ed8fb80b2fcf80ca64ea4f82ccba8)) 345 | * 様→さま の正規表現が間違っていたので修正 ([#109](https://github.com/kufu/textlint-rule-preset-smarthr/issues/109)) ([210b837](https://github.com/kufu/textlint-rule-preset-smarthr/commit/210b837b803070d7cd177d6095b333a1693c1e38)) 346 | 347 | ## [1.8.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.7.1...v1.8.0) (2021-10-01) 348 | 349 | 350 | ### Features 351 | 352 | * npm test 実行時、定義中に含まれる specs の内容を検証 ([#110](https://github.com/kufu/textlint-rule-preset-smarthr/issues/110)) ([4367613](https://github.com/kufu/textlint-rule-preset-smarthr/commit/436761364989750b4d00088ef3c67dae009fcc3c)) 353 | * semantic-releaseに関連するパッケージ・ファイルの削除 ([#113](https://github.com/kufu/textlint-rule-preset-smarthr/issues/113)) ([ce7953e](https://github.com/kufu/textlint-rule-preset-smarthr/commit/ce7953e001d51b0ec6421e98f7d2cb2e4d2953c3)) 354 | 355 | 356 | ### Bug Fixes 357 | 358 | * 「同等」の「等」はエラー判定されないようにする ([#108](https://github.com/kufu/textlint-rule-preset-smarthr/issues/108)) ([b48cc49](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b48cc49eb92ed8fb80b2fcf80ca64ea4f82ccba8)) 359 | * 様→さま の正規表現が間違っていたので修正 ([#109](https://github.com/kufu/textlint-rule-preset-smarthr/issues/109)) ([210b837](https://github.com/kufu/textlint-rule-preset-smarthr/commit/210b837b803070d7cd177d6095b333a1693c1e38)) 360 | 361 | ### [1.7.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.7.0...v1.7.1) (2021-09-10) 362 | 363 | 364 | ### Bug Fixes 365 | 366 | * hiragana-keishikimeishiのアップデートに対応 ([#105](https://github.com/kufu/textlint-rule-preset-smarthr/issues/105)) ([67682d4](https://github.com/kufu/textlint-rule-preset-smarthr/commit/67682d4057674e3496ff845cee3e2b451088d0ac)) 367 | 368 | ## [1.7.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.6.0...v1.7.0) (2021-09-07) 369 | 370 | 371 | ### Features 372 | 373 | * 依存ルールを置き換え ([#93](https://github.com/kufu/textlint-rule-preset-smarthr/issues/93)) ([6b8616a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/6b8616a7fcb38b2c932628ce97b75b138b3eb213)) 374 | * 在籍状況・在職中のルールを追加 ([#92](https://github.com/kufu/textlint-rule-preset-smarthr/issues/92)) ([4623cd6](https://github.com/kufu/textlint-rule-preset-smarthr/commit/4623cd6010e13ea85e88706fc885601250f94218)) 375 | * 自動リリース機能の追加 ([#96](https://github.com/kufu/textlint-rule-preset-smarthr/issues/96)) ([7903afc](https://github.com/kufu/textlint-rule-preset-smarthr/commit/7903afc3647132764904ff4c6bb4e337da754f7a)) 376 | 377 | 378 | ### Bug Fixes 379 | 380 | * branch protectionによってsemantic-releaseが失敗する問題を解決する ([#98](https://github.com/kufu/textlint-rule-preset-smarthr/issues/98)) ([faf7cc8](https://github.com/kufu/textlint-rule-preset-smarthr/commit/faf7cc835701b22d48d0bb4d1afa897c553f14a0)) 381 | * release actionにtokenを追加 ([#100](https://github.com/kufu/textlint-rule-preset-smarthr/issues/100)) ([196ead2](https://github.com/kufu/textlint-rule-preset-smarthr/commit/196ead2161c8eada6ae077640e6aefba99f93423)) 382 | * yarn.lockを再生成 ([#97](https://github.com/kufu/textlint-rule-preset-smarthr/issues/97)) ([b69f090](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b69f090ca548a66d96e3c3a60fd2be0a3dd36e8e)) 383 | 384 | ## [1.6.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.5.0...v1.6.0) (2021-08-18) 385 | 386 | 387 | ### Features 388 | 389 | * 「テナント」「テナントID」を検知するルールを追加 ([#86](https://github.com/kufu/textlint-rule-preset-smarthr/issues/86)) ([8243f19](https://github.com/kufu/textlint-rule-preset-smarthr/commit/8243f19defc28beeb4da22f8c117b8e117431408)) 390 | * husky+commitlintを使ってコミットメッセージにlintを実行する ([#88](https://github.com/kufu/textlint-rule-preset-smarthr/issues/88)) ([61d5fb8](https://github.com/kufu/textlint-rule-preset-smarthr/commit/61d5fb8c88e3778d3522573ff844f5294d5e1579)) 391 | * 丸数字を検知するルールを追加 ([#87](https://github.com/kufu/textlint-rule-preset-smarthr/issues/87)) ([d67638b](https://github.com/kufu/textlint-rule-preset-smarthr/commit/d67638b16ac17c2f309198f5b87fa5bc5b302e1c)) 392 | 393 | ## [1.5.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.4.0...v1.5.0) (2021-06-30) 394 | 395 | 396 | ### Features 397 | 398 | * buildチェック用のGitHub Actionsを追加 ([#58](https://github.com/kufu/textlint-rule-preset-smarthr/issues/58)) ([403c33b](https://github.com/kufu/textlint-rule-preset-smarthr/commit/403c33b9fc8fa6378bd02f8f9e1f7afe4bd58f5c)) 399 | * npmパッケージのアップデート ([#64](https://github.com/kufu/textlint-rule-preset-smarthr/issues/64)) ([fec28b7](https://github.com/kufu/textlint-rule-preset-smarthr/commit/fec28b74f9ed3a32d285d9363d5f30a4c8f0a0fd)) 400 | 401 | 402 | ### Bug Fixes 403 | 404 | * update changelog ([#60](https://github.com/kufu/textlint-rule-preset-smarthr/issues/60)) ([60f598a](https://github.com/kufu/textlint-rule-preset-smarthr/commit/60f598ab12b60953b781ab81e273c9f4ca29d411)) 405 | 406 | ## [1.4.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.3.0...v1.4.0) (2021-06-14) 407 | 408 | 409 | ### Features 410 | 411 | * "ユーザビリティ"のチェック追加 ([#16](https://github.com/kufu/textlint-rule-preset-smarthr/issues/16)) ([2601f4d](https://github.com/kufu/textlint-rule-preset-smarthr/commit/2601f4d8e88e8b1c43692fce812708f7213ed79a)) 412 | * 利用頻度の低い技術用語の削除 ([#57](https://github.com/kufu/textlint-rule-preset-smarthr/issues/57)) ([ed20bd2](https://github.com/kufu/textlint-rule-preset-smarthr/commit/ed20bd23faaf3aec2be7bac488af01c881328f73)) 413 | 414 | 415 | ### Bug Fixes 416 | 417 | * 「もと」に関する修正([#48](https://github.com/kufu/textlint-rule-preset-smarthr/issues/48)) ([2601f4d](https://github.com/kufu/textlint-rule-preset-smarthr/commit/05d3b28b0aad28a05b9dc8346b8d5ab3b4a7d50b)) 418 | 419 | 420 | ## [1.3.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.2.0...v1.3.0) (2021-05-13) 421 | 422 | 423 | ### Features 424 | 425 | * PR用テンプレートを追加 ([a1a61e0](https://github.com/kufu/textlint-rule-preset-smarthr/commit/a1a61e029498cf380003dc8d6fb3a798a836f78d)) 426 | * remove LINE from prh tech word ([b604e48](https://github.com/kufu/textlint-rule-preset-smarthr/commit/b604e48fa5c7d3d456cbcca8a0a6a689d76b2eb6)) 427 | * テンプレート項目の修正 ([886fe3b](https://github.com/kufu/textlint-rule-preset-smarthr/commit/886fe3bd59a495d78f3d6014c1649eac193b2166)) 428 | 429 | 430 | ### Bug Fixes 431 | 432 | * インデントの修正 ([8043bbd](https://github.com/kufu/textlint-rule-preset-smarthr/commit/8043bbd62e3d0ca6728e6aedefb2edbad7c6b7fa)) 433 | 434 | ## [1.2.0](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.1.1...v1.2.0) (2021-04-01) 435 | 436 | 437 | ### Features 438 | 439 | * add types ([3bc44a9](https://github.com/kufu/textlint-rule-preset-smarthr/commit/3bc44a9045b7e419facc6c5318209faa62ba8003)) 440 | * package.jsonの修正 ([cc206f2](https://github.com/kufu/textlint-rule-preset-smarthr/commit/cc206f25c5f65981dc6b8a597543180d5f916a95)) 441 | 442 | 443 | ### Bug Fixes 444 | 445 | * require.d.tsの削除 ([598ac04](https://github.com/kufu/textlint-rule-preset-smarthr/commit/598ac0484b7884176604704819ee8986cbe46fcc)) 446 | 447 | ### [1.1.1](https://github.com/kufu/textlint-rule-preset-smarthr/compare/v1.1.0...v1.1.1) (2021-03-31) 448 | 449 | ## [1.1.0](https://github.com/kgsi/textlint-rule-preset-smarthr/compare/v1.0.0...v1.1.0) (2021-03-31) 450 | 451 | ### Features 452 | 453 | - LeSS(Large-Scale Scrum)に対する誤判定対応 ([0ef5932](https://github.com/kufu/textlint-rule-preset-smarthr/commit/0ef593209a056956eef11582f3aaef13fc790374)) 454 | - カタカナ語の長音(ー)ルールに合わせた辞書の追加 ([2e0699d](https://github.com/kgsi/textlint-rule-preset-smarthr/commit/2e0699d67c494cbb43fd79f0d881a4be99473f94)) 455 | - 『[上下左右内外]側[にへが]』を誤判定しないように([17c44f9](https://github.com/masinc/textlint-rule-preset-smarthr/commit/17c44f9c15ea8f3d7af7952c60af528b94b342b8)) 456 | - standard-versionを追加 ([663b238](https://github.com/kgsi/textlint-rule-preset-smarthr/commit/663b23842f6c43f3dcd5eaf1021ad0e4fea15087)) 457 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # コントリビューター行動規範 2 | 3 | ## 私たちの約束 4 | メンバー、コントリビューター、およびリーダーとして、年齢、体の大きさ、目に見えるまたは目に見えない障害、民族性、性別、 5 | 性同一性、表現、経験のレベル、教育、社会経済的地位、国籍、人格、人種、宗教、または性的同一性と指向に関係なく、 6 | コミュニティへの参加をハラスメントのない体験にすることを誓います。 7 | 8 | 私たちは、オープンで親しみやすく、多様で包括的で健全なコミュニティに貢献する方法で行動し、交流することを誓います。 9 | 10 | ## 私たちの標準 11 | 12 | 前向きな環境を作り上げることに貢献する行動の例: 13 | 14 | * 他人への共感と優しさを示す 15 | 16 | * 異なる意見、視点、経験を尊重する 17 | 18 | * 建設的なフィードバックを与え、優雅に受け入れる 19 | 20 | * 私たちの過ちの影響を受けた人々に責任を受け入れ、謝罪し、そしてその経験から学ぶ 21 | 22 | * 個人としてだけでなく、コミュニティ全体にとっても最善であることに焦点を当てる 23 | 24 | 許容できない行動の例は次のとおりです。 25 | 26 | * 性的な言葉や画像の使用、および性的な注意またはその他あらゆる種類の問題行為 27 | 28 | * トローリング、侮辱的または中傷的なコメント、個人的または政治的攻撃 29 | 30 | * 公的またはプライベートの嫌がらせ 31 | 32 | * 明示的な許可なしに、住所や電子メールアドレスなど、他者の個人情報を公開する 33 | 34 | * 職業上不適切と合理的に考えられるその他の行為 35 | 36 | ## 執行責任 37 | 38 | コミュニティリーダーは、許容される行動の基準を明確にし、実施する責任があり、不適切、脅迫的、攻撃的、または有害と見なされる行動に応じて、適切で公正な是正措置を講じます。 39 | 40 | コミュニティリーダーは、コメント、コミット、コード、wikiの編集、問題、およびこの行動規範に沿っていないその他の貢献を削除、編集、または拒否する権利と責任を持ち、適切な場合はモデレーションの決定の理由を伝えます。 41 | 42 | ## 適用範囲 43 | 44 | この行動規範は、すべてのコミュニティスペース内で適用され、個人がパブリックスペースでコミュニティを公式に代表している場合にも適用されます。 45 | 私たちのコミュニティを代表する例には、公式の電子メールアドレスの使用、公式のソーシャルメディアアカウントを介した投稿、オンラインまたはオフラインのイベントでの指定代理人としての行動などがあります。 46 | 47 | ## 執行 48 | 49 | 虐待的、嫌がらせ、またはその他の許容できない行動の事例は、執行を担当するコミュニティリーダーに対して `oss@smarthr.co.jp` で報告される場合があります。 50 | すべての苦情は迅速かつ公正にレビューおよび調査されます。 51 | 52 | すべてのコミュニティリーダーは、問題の報告者のプライバシーとセキュリティを尊重する義務があります。 53 | 54 | ## 執行ガイドライン 55 | 56 | コミュニティリーダーは、この行動規範に違反していると見なした行動への帰結を判断する際に、これらのコミュニティガイドラインに従います。 57 | 58 | ### 1. 更生 59 | 60 | **コミュニティへの影響**: コミュニティで専門家にふさわしくない、または歓迎されないと思われる不適切な言葉の使用やその他の不適切な行動をすること。 61 | 62 | **帰結**: コミュニティリーダーからの非公開の書面による警告。違反の理由を明確にし、行動が不適切だった理由を説明します。 公の謝罪が要求される場合があります。 63 | 64 | ### 2. 警告 65 | 66 | **コミュニティへの影響**: 単一の出来事または一連の動作による違反。 67 | 68 | **帰結**: 持続的な行動の結果を伴う警告。 指定された期間、行動規範の実施者との一方的な対話を含め、関係者との対話はありません。 これには、コミュニティスペースやソーシャルメディアなどの外部チャネルでの相互作用の回避が含まれます。 これらの条件に違反すると、一時的または永続的に禁止される場合があります。 69 | 70 | ### 3. 一時的な禁止 71 | **コミュニティへの影響**: 持続的で不適切な行動を含む、コミュニティ標準の重大な違反。 72 | 73 | **帰結**: 指定された期間のコミュニティとのあらゆる種類の相互関係または公的なコミュニケーションの一時的な禁止。 この期間中、行動規範を実施する人々との一方的な対話を含め、関係する人々との公的または私的な対話は許可されません。 74 | これらの条件に違反すると、永久的に禁止される場合があります。 75 | ### 4. 永久的な禁止 76 | **コミュニティへの影響**: 連続的な不適切な行動、個人への嫌がらせ、または個人の集団に対する攻撃または名誉毀損を含む、コミュニティの標準への違反のパターンを示す。 77 | 78 | **帰結**: コミュニティ内でのあらゆる種類の公的な相互関係の永久的な禁止。 79 | 80 | ## 帰属 81 | この行動規範は、https://www.contributor-covenant.org/version/2/0/code_of_conduct.html で利用可能な [Contributor Covenant][homepage] バージョン2.0を基に作成されています。 82 | 83 | コミュニティへの影響ガイドラインは[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity)に適合しています。 84 | 85 | [homepage]: https://www.contributor-covenant.org 86 | この行動規範に関する一般的な質問への回答については、https://www.contributor-covenant.org/faq のFAQを参照してください。翻訳はhttps://www.contributor-covenant.org/translations で入手できます。 87 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2023 SmartHR, Inc. 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # textlint-rule-preset-smarthr 2 | 3 | SmartHRらしい文書を書くための、textlintルールプリセットを提供します。 4 | 5 | ## インストール 6 | 7 | Install with [pnpm](https://pnpm.io/): 8 | 9 | pnpm install textlint-rule-preset-smarthr 10 | 11 | ## 使い方 12 | 13 | Via `.textlintrc`(Recommended) 14 | 15 | ### Via CLI 16 | 17 | ``` 18 | textlint --rule preset-smarthr README.md 19 | ``` 20 | 21 | ### Build 22 | 23 | ソースコードをビルドして、`lib`フォルダに公開します。 24 | TypeScriptのソースコードは`src/`フォルダに書くことができます。 25 | 26 | ``` 27 | pnpm run build 28 | ``` 29 | 30 | ### Tests 31 | 32 | `test`フォルダ内のテストコードを実行します。 33 | testの詳細は[textlint-tester](https://github.com/textlint/textlint/tree/master/packages/textlint-tester)を参照してください。 34 | 35 | ``` 36 | pnpm test 37 | ``` 38 | ### 基本設定 39 | 40 | すべてのルールを有効化して使う場合は、次のように設定してください。 41 | 42 | ```json 43 | { 44 | "rules": { 45 | "preset-smarthr": true 46 | } 47 | } 48 | ``` 49 | ### デフォルト設定 50 | 51 | デフォルトでは、次のような設定になっています。個別にルールを有効・無効化することも可能です。 52 | 53 | ```json 54 | { 55 | "rules": { 56 | "preset-smarthr": { 57 | "prh-rules": true, 58 | "ja-no-mixed-period": true, 59 | "no-hankaku-kana": true, 60 | "@textlint-rule/no-unmatched-pair": true, 61 | "sentence-length": { 62 | "max": 120 63 | }, 64 | "no-doubled-conjunctive-particle-ga": true, 65 | "no-double-negative-ja": true, 66 | "ja-no-abusage": true, 67 | "ja-no-redundant-expression": true, 68 | "no-mixed-zenkaku-and-hankaku-alphabet": true, 69 | "ja-keishikimeishi": { 70 | "detection_hou_kata" : false, 71 | "detection_ue" : false 72 | }, 73 | "ja-hiragana-fukushi": true, 74 | "ja-hiragana-hojodoushi": true, 75 | "ja-hiragana-daimeishi": true, 76 | "ja-no-space-around-parentheses": true, 77 | "ja-no-space-between-full-width": true, 78 | "ja-space-between-half-and-full-width": { 79 | "space": "never" 80 | }, 81 | "ja-space-after-exclamation": true, 82 | "ja-space-after-question": true, 83 | "ja-space-around-code": false, 84 | "no-nfd": true 85 | } 86 | } 87 | } 88 | ``` 89 | 90 | ## 設定ルール一覧 91 | 92 | * [textlint-rule-ja-hiragana-daimeishi](https://github.com/lostandfound/textlint-rule-ja-hiragana-daimeishi) 93 | * [textlint-rule-ja-hiragana-fukushi](https://github.com/lostandfound/textlint-rule-ja-hiragana-fukushi) 94 | * [textlint-rule-ja-hiragana-hojodoushi](https://github.com/lostandfound/textlint-rule-ja-hiragana-hojodoushi) 95 | * [textlint-rule-ja-keishikimeishi](https://github.com/otapo/textlint-rule-ja-keishikimeishi) 96 | * [textlint-rule-ja-no-abusage](https://github.com/textlint-ja/textlint-rule-ja-no-abusage) 97 | * [textlint-rule-ja-no-mixed-period](https://github.com/textlint-ja/textlint-rule-ja-no-mixed-period) 98 | * [textlint-rule-ja-no-redundant-expression](https://github.com/textlint-ja/textlint-rule-ja-no-redundant-expression) 99 | * [textlint-rule-no-double-negative-ja](https://github.com/textlint-ja/textlint-rule-no-double-negative-ja) 100 | * [textlint-rule-no-doubled-conjunction](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunction) 101 | * [textlint-rule-no-doubled-conjunctive-particle-ga](https://github.com/textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga) 102 | * [textlint-rule-no-doubled-joshi](https://github.com/textlint-ja/textlint-rule-no-doubled-joshi) 103 | * [textlint-rule-no-dropping-the-ra](https://github.com/textlint-ja/textlint-rule-no-dropping-the-ra) 104 | * [textlint-rule-no-hankaku-kana](https://github.com/textlint-ja/textlint-rule-no-hankaku-kana) 105 | * [textlint-rule-no-mix-dearu-desumasu](https://github.com/textlint-ja/textlint-rule-no-mix-dearu-desumasu) 106 | * [textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet](https://github.com/textlint-ja/textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet) 107 | * [textlint-rule-no-nfd](https://github.com/textlint-ja/textlint-rule-no-nfd) 108 | * [textlint-rule-prh](https://github.com/textlint-rule/textlint-rule-prh) 109 | * [textlint-rule-sentence-length](https://github.com/textlint-rule/textlint-rule-sentence-length) 110 | * [textlint-rule-preset-ja-spacing](https://github.com/textlint-ja/textlint-rule-preset-ja-spacing)(補足1) 111 | * textlint-rule-ja-nakaguro-or-halfwidth-space-between-katakana 112 | * textlint-rule-ja-no-space-around-parentheses 113 | * textlint-rule-ja-no-space-between-full-width 114 | * textlint-rule-ja-space-after-exclamation 115 | * textlint-rule-ja-space-after-question 116 | * textlint-rule-ja-space-around-code 117 | * textlint-rule-ja-space-between-half-and-full-width 118 | 119 | 補足1: `textlint-rule-preset-ja-spacing`のルールプリセットを分解して設定しています。 120 | 121 | ## 辞書設定 122 | 123 | 表記ゆれ修正用の辞書の設定には`textlint-rule-prh`を使っています。 124 | 対応用語は`dict/`フォルダに入っている`.yml`を確認してください。 125 | 126 | ## License 127 | 128 | MIT 129 | -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | rules: { 4 | 'body-max-line-length': [0, 'always'], 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /dict/prh-idiomatic-usage.yml: -------------------------------------------------------------------------------- 1 | rules: 2 | - expected: あらかじめ 3 | pattern: 4 | - 予め 5 | prh: >- 6 | 平仮名にしたほうが読みやすい漢字は平仮名にする 7 | https://smarthr.design/products/contents/writing-style/ 8 | specs: 9 | - from: 予め 10 | to: あらかじめ 11 | - expected: いたします 12 | pattern: 13 | - 致します 14 | prh: >- 15 | 平仮名にしたほうが読みやすい漢字は平仮名にする 16 | https://smarthr.design/products/contents/writing-style/ 17 | specs: 18 | - from: 致します 19 | to: いたします 20 | - expected: いただ$1 21 | pattern: 22 | - /頂([いかきくけこ])/ 23 | prh: >- 24 | 平仮名にしたほうが読みやすい漢字は平仮名にする 25 | https://smarthr.design/products/contents/writing-style/ 26 | specs: 27 | - from: 頂い 28 | to: いただい 29 | - from: 頂か 30 | to: いただか 31 | - from: 頂く 32 | to: いただく 33 | - from: 頂き 34 | to: いただき 35 | - from: 頂け 36 | to: いただけ 37 | - from: 頂こ 38 | to: いただこ 39 | - expected: および 40 | pattern: 41 | - 及び 42 | prh: >- 43 | 平仮名にしたほうが読みやすい漢字は平仮名にする 44 | https://smarthr.design/products/contents/writing-style/ 45 | specs: 46 | - from: 及び 47 | to: および 48 | - expected: ください 49 | pattern: 50 | - 下さい 51 | prh: >- 52 | 平仮名にしたほうが読みやすい漢字は平仮名にする 53 | https://smarthr.design/products/contents/writing-style/ 54 | specs: 55 | - from: 下さい 56 | to: ください 57 | - expected: ご存じ 58 | pattern: 59 | - ご存知 60 | prh: >- 61 | 平仮名にしたほうが読みやすい漢字は平仮名にする 62 | https://smarthr.design/products/contents/writing-style/ 63 | specs: 64 | - from: ご存知 65 | to: ご存じ 66 | - expected: さきほど 67 | pattern: 68 | - 先程 69 | prh: >- 70 | 平仮名にしたほうが読みやすい漢字は平仮名にする 71 | https://smarthr.design/products/contents/writing-style/ 72 | specs: 73 | - from: 先程 74 | to: さきほど 75 | - expected: さまざま 76 | pattern: 77 | - 様々 78 | prh: >- 79 | 平仮名にしたほうが読みやすい漢字は平仮名にする 80 | https://smarthr.design/products/contents/writing-style/ 81 | specs: 82 | - from: 様々 83 | to: さまざま 84 | - expected: すでに 85 | pattern: 86 | - 既に 87 | prh: >- 88 | 平仮名にしたほうが読みやすい漢字は平仮名にする 89 | https://smarthr.design/products/contents/writing-style/ 90 | specs: 91 | - from: 既に 92 | to: すでに 93 | - expected: すなわち 94 | pattern: 95 | - 即ち 96 | prh: >- 97 | 平仮名にしたほうが読みやすい漢字は平仮名にする 98 | https://smarthr.design/products/contents/writing-style/ 99 | specs: 100 | - from: 即ち 101 | to: すなわち 102 | - expected: すべて 103 | pattern: 104 | - 全て 105 | prh: >- 106 | 平仮名にしたほうが読みやすい漢字は平仮名にする 107 | https://smarthr.design/products/contents/writing-style/ 108 | specs: 109 | - from: 全て 110 | to: すべて 111 | - expected: そば$1 112 | pattern: 113 | - >- 114 | /(?- 116 | 平仮名にしたほうが読みやすい漢字は平仮名にする 117 | https://smarthr.design/products/contents/writing-style/ 118 | specs: 119 | - from: ボタンの側にある 120 | to: ボタンのそばにある 121 | - expected: たくさん 122 | pattern: 123 | - 沢山 124 | prh: >- 125 | 平仮名にしたほうが読みやすい漢字は平仮名にする 126 | https://smarthr.design/products/contents/writing-style/ 127 | specs: 128 | - from: 沢山 129 | to: たくさん 130 | - expected: ただ 131 | pattern: 132 | - 只 133 | prh: >- 134 | 平仮名にしたほうが読みやすい漢字は平仮名にする 135 | https://smarthr.design/products/contents/writing-style/ 136 | specs: 137 | - from: 只 138 | to: ただ 139 | - expected: ただし 140 | pattern: 141 | - 但し 142 | prh: >- 143 | 平仮名にしたほうが読みやすい漢字は平仮名にする 144 | https://smarthr.design/products/contents/writing-style/ 145 | specs: 146 | - from: 但し 147 | to: ただし 148 | - expected: ため$1 149 | pattern: 150 | - /為([にで])/ 151 | prh: >- 152 | 平仮名にしたほうが読みやすい漢字は平仮名にする 153 | https://smarthr.design/products/contents/writing-style/ 154 | specs: 155 | - from: 為です 156 | to: ためです 157 | - expected: など$1 158 | pattern: 159 | - /(?- 161 | 平仮名にしたほうが読みやすい漢字は平仮名にする 162 | https://smarthr.design/products/contents/writing-style/ 163 | specs: 164 | - from: 住所等を入力 165 | to: 住所などを入力 166 | - expected: ならびに 167 | pattern: 168 | - /(?- 170 | 平仮名にしたほうが読みやすい漢字は平仮名にする 171 | https://smarthr.design/products/contents/writing-style/ 172 | specs: 173 | - from: 並びに 174 | to: ならびに 175 | - expected: まず 176 | pattern: 177 | - 先ず 178 | prh: >- 179 | 平仮名にしたほうが読みやすい漢字は平仮名にする 180 | https://smarthr.design/products/contents/writing-style/ 181 | specs: 182 | - from: 先ず 183 | to: まず 184 | - expected: まで 185 | pattern: 186 | - 迄 187 | prh: >- 188 | 平仮名にしたほうが読みやすい漢字は平仮名にする 189 | https://smarthr.design/products/contents/writing-style/ 190 | specs: 191 | - from: 迄 192 | to: まで 193 | - expected: もって 194 | pattern: 195 | - 以て 196 | prh: >- 197 | 平仮名にしたほうが読みやすい漢字は平仮名にする 198 | https://smarthr.design/products/contents/writing-style/ 199 | specs: 200 | - from: 以て 201 | to: もって 202 | - expected: もっとも 203 | pattern: 204 | - 尤も 205 | prh: >- 206 | 平仮名にしたほうが読みやすい漢字は平仮名にする 207 | https://smarthr.design/products/contents/writing-style/ 208 | specs: 209 | - from: 尤も 210 | to: もっとも 211 | - expected: でき$1 212 | pattern: 213 | - /出来([かがのをは過す損ずなまるたれてそ])/ 214 | prh: >- 215 | 平仮名にしたほうが読みやすい漢字は平仮名にする 216 | https://smarthr.design/products/contents/writing-style/ 217 | specs: 218 | - from: 出来る 219 | to: できる 220 | - expected: のなかで 221 | pattern: 222 | - の中で 223 | prh: >- 224 | 平仮名にしたほうが読みやすい漢字は平仮名にする 225 | https://smarthr.design/products/contents/writing-style/ 226 | specs: 227 | - from: 文章の中で 228 | to: 文章のなかで 229 | - expected: CSVファイル 230 | pattern: 231 | - csvファイル 232 | prh: >- 233 | 「◯◯ファイル」の◯◯の部分は大文字で表記し、拡張子は省略する 234 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 235 | specs: 236 | - from: csvファイル 237 | to: CSVファイル 238 | - expected: PDFファイル 239 | pattern: 240 | - pdfファイル 241 | prh: >- 242 | 「◯◯ファイル」の◯◯の部分は大文字で表記し、拡張子は省略する 243 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 244 | specs: 245 | - from: pdfファイル 246 | to: PDFファイル 247 | - expected: ZIPファイル 248 | pattern: 249 | - zipファイル 250 | prh: >- 251 | 「◯◯ファイル」の◯◯の部分は大文字で表記し、拡張子は省略する 252 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 253 | specs: 254 | - from: zipファイル 255 | to: ZIPファイル 256 | - expected: アイコン 257 | pattern: 258 | - >- 259 | /(?- 261 | 「マーク」ではなく「アイコン」と表記する 262 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 263 | specs: 264 | - from: マーク 265 | to: アイコン 266 | - expected: アクセシビリティ 267 | pattern: 268 | - アクセシビリティー 269 | prh: >- 270 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 271 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 272 | specs: 273 | - from: アクセシビリティー 274 | to: アクセシビリティ 275 | - expected: あとで 276 | pattern: 277 | - /(?- 279 | 平仮名にしたほうが読みやすい漢字は平仮名にする 280 | https://smarthr.design/products/contents/writing-style/ 281 | specs: 282 | - from: 後でやります。 283 | to: あとでやります。 284 | - from: 評価開始後でも編集できます。 285 | to: 評価開始後でも編集できます。 286 | - expected: したうえで 287 | pattern: 288 | - した上で 289 | prh: >- 290 | 平仮名にしたほうが読みやすい漢字は平仮名にする 291 | https://smarthr.design/products/contents/writing-style/ 292 | specs: 293 | - from: した上で 294 | to: したうえで 295 | - expected: $1さま 296 | pattern: 297 | - /(従業員|お客|ユーザー|皆)様/ 298 | prh: >- 299 | 平仮名にしたほうが読みやすい漢字は平仮名にする 300 | https://smarthr.design/products/contents/writing-style/ 301 | specs: 302 | - from: 従業員様 303 | to: 従業員さま 304 | - from: お客様 305 | to: お客さま 306 | - from: ユーザー様 307 | to: ユーザーさま 308 | - from: 皆様 309 | to: 皆さま 310 | - expected: あ$1 311 | pattern: 312 | - /有(っ|り|る|れ|ろ)/ 313 | prh: |- 314 | 平仮名にしたほうが読みやすい漢字は平仮名にする 315 | https://smarthr.design/products/contents/writing-style/ 316 | specs: 317 | - from: 有った 318 | to: あった 319 | - from: 有り 320 | to: あり 321 | - from: 有る 322 | to: ある 323 | - from: 有れば 324 | to: あれば 325 | - from: 有ろう 326 | to: あろう 327 | - expected: あわせて 328 | pattern: 329 | - /(?- 331 | 「あわせて」は平仮名で表記する 332 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recUxtcs2EldiKQ1U-0 333 | specs: 334 | - from: 合わせて 335 | to: あわせて 336 | - from: 併せて 337 | to: あわせて 338 | - from: AとBを併せて入力 339 | to: AとBを併せて入力 340 | - from: 問い合わせて 341 | to: 問い合わせて 342 | - expected: 移動 343 | pattern: 344 | - 遷移 345 | prh: >- 346 | 「移動」と表現し、「遷移」の使用は控える 347 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 348 | specs: 349 | - from: 遷移 350 | to: 移動 351 | - expected: 振り込み 352 | pattern: 353 | - /(?- 355 | 送りがなを付けて表記する 356 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 357 | specs: 358 | - from: 振込 359 | to: 振り込み 360 | - from: 給与振込口座 361 | to: 給与振込口座 362 | - from: 給付金振込 363 | to: 給付金振込 364 | - expected: 取り消し 365 | pattern: 366 | - 取消 367 | prh: >- 368 | 送りがなを付けて表記する 369 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 370 | specs: 371 | - from: 取消 372 | to: 取り消し 373 | - expected: 差し戻し 374 | pattern: 375 | - 差戻し 376 | prh: >- 377 | 送りがなを付けて表記する 378 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 379 | specs: 380 | - from: 差戻し 381 | to: 差し戻し 382 | - expected: 行な$1 383 | pattern: 384 | - /おこな|行([いうえおわっ])/ 385 | prh: >- 386 | 「行なう」と表現し、「行う」の使用は控える 387 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 388 | specs: 389 | - from: 行い 390 | to: 行ない 391 | - from: 行う 392 | to: 行なう 393 | - from: 行え 394 | to: 行なえ 395 | - from: 行おう 396 | to: 行なおう 397 | - from: 行わない 398 | to: 行なわない 399 | - from: 行って 400 | to: 行なって 401 | - from: おこない 402 | to: 行ない 403 | - from: おこなう 404 | to: 行なう 405 | - from: おこなえ 406 | to: 行なえ 407 | - from: おこなおう 408 | to: 行なおう 409 | - from: おこなわない 410 | to: 行なわない 411 | - from: おこなって 412 | to: 行なって 413 | - expected: 何卒 414 | pattern: 415 | - 何とぞ 416 | prh: >- 417 | 平仮名にしたほうが読みやすい漢字は平仮名にする 418 | https://smarthr.design/products/contents/writing-style/ 419 | specs: 420 | - from: 何とぞ 421 | to: 何卒 422 | - expected: 並べ替え 423 | pattern: 424 | - 並び替え 425 | specs: 426 | - from: 並び替え 427 | to: 並べ替え 428 | - expected: をもとに 429 | pattern: 430 | - を基に 431 | prh: >- 432 | 拠り所や根拠を示す「もと」は平仮名で表記する 433 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recwriblj4bLsRwiR-0 434 | specs: 435 | - from: 〜を基に入力する 436 | to: 〜をもとに入力する 437 | - expected: 元$1戻 438 | pattern: 439 | - /もと([にへ])戻/ 440 | prh: >- 441 | 前の工程に戻る場合の「元」は漢字で表記する 442 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 443 | specs: 444 | - from: もとに戻す 445 | to: 元に戻す 446 | - expected: $1! 447 | pattern: 448 | - >- 449 | /([\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD87F][\uDC00-\uDFFF]|[ぁ-んァ-ヶ])![^!\?]/ 450 | prh: >- 451 | 「!」と「?」は単独で使う場合は全角、ペアで使う場合は半角で表記する 452 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 453 | - expected: $1? 454 | pattern: 455 | - >- 456 | /([\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD87F][\uDC00-\uDFFF]|[ぁ-んァ-ヶ])\?[^!\?]/ 457 | prh: >- 458 | 「!」と「?」は単独で使う場合は全角、ペアで使う場合は半角で表記する 459 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 460 | - expected: '!!' 461 | pattern: 462 | - !! 463 | prh: >- 464 | 「!」と「?」は単独で使う場合は全角、ペアで使う場合は半角で表記する 465 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 466 | specs: 467 | - from: !! 468 | to: '!!' 469 | - expected: '!?' 470 | pattern: 471 | - !? 472 | prh: >- 473 | 「!」と「?」は単独で使う場合は全角、ペアで使う場合は半角で表記する 474 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 475 | specs: 476 | - from: !? 477 | to: '!?' 478 | - expected: '??' 479 | pattern: 480 | - ?? 481 | prh: >- 482 | 「!」と「?」は単独で使う場合は全角、ペアで使う場合は半角で表記する 483 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 484 | specs: 485 | - from: ?? 486 | to: '??' 487 | - expected: 改善 488 | pattern: 489 | - カイゼン 490 | prh: >- 491 | 「改善」と漢字で表記し、「カイゼン」の使用は控える 492 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 493 | specs: 494 | - from: カイゼンしました 495 | to: 改善しました 496 | - expected: GB 497 | pattern: 498 | - ギガバイト 499 | prh: >- 500 | ファイルサイズは基本的に英字2文字で表記する 501 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recmk5vIbS65cWjA6-0 502 | specs: 503 | - from: ギガバイト 504 | to: GB 505 | - expected: KB 506 | pattern: 507 | - キロバイト 508 | prh: >- 509 | ファイルサイズは基本的に英字2文字で表記する 510 | 511 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recmk5vIbS65cWjA6-0 512 | specs: 513 | - from: 1キロバイト 514 | to: 1KB 515 | - expected: クエリ 516 | pattern: 517 | - クエリー 518 | prh: >- 519 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 520 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 521 | specs: 522 | - from: クエリー 523 | to: クエリ 524 | - expected: ごと$1 525 | pattern: 526 | - /毎([にので])/ 527 | prh: >- 528 | 平仮名にしたほうが読みやすい漢字は平仮名にする 529 | https://smarthr.design/products/contents/writing-style/ 530 | specs: 531 | - from: 口座毎に 532 | to: 口座ごとに 533 | - from: 項目毎の 534 | to: 項目ごとの 535 | - from: フォーム毎で 536 | to: フォームごとで 537 | - expected: サーバー 538 | pattern: 539 | - /サーバ(?!ー)/ 540 | prh: >- 541 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 542 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 543 | specs: 544 | - from: 受信サーバに拒否されました 545 | to: 受信サーバーに拒否されました 546 | - expected: さら$1 547 | pattern: 548 | - /(?- 550 | 平仮名にしたほうが読みやすい漢字は平仮名にする 551 | https://smarthr.design/products/contents/writing-style/ 552 | specs: 553 | - from: 更に 554 | to: さらに 555 | - from: 更なる 556 | to: さらなる 557 | - expected: しばらく 558 | pattern: 559 | - 暫く 560 | prh: >- 561 | 平仮名にしたほうが読みやすい漢字は平仮名にする 562 | https://smarthr.design/products/contents/writing-style/ 563 | specs: 564 | - from: 暫く 565 | to: しばらく 566 | - expected: スマートフォン 567 | pattern: 568 | - スマートホン 569 | - スマフォ 570 | - スマホ 571 | prh: >- 572 | 「スマートフォン」と表現し、「スマホ」などの表現は控える 573 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 574 | specs: 575 | - from: スマートホン 576 | to: スマートフォン 577 | - from: スマフォ 578 | to: スマートフォン 579 | - from: スマホ 580 | to: スマートフォン 581 | - expected: セキュリティ 582 | pattern: 583 | - セキュリティー 584 | prh: >- 585 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 586 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 587 | specs: 588 | - from: セキュリティー 589 | to: セキュリティ 590 | - expected: ぜひ 591 | pattern: 592 | - /是非(?!を|に|にも)/ 593 | prh: >- 594 | 平仮名にしたほうが読みやすい漢字は平仮名にする 595 | https://smarthr.design/products/contents/writing-style/ 596 | specs: 597 | - from: 是非 598 | to: ぜひ 599 | - expected: ソフトウェア 600 | pattern: 601 | - ソフトウエア 602 | prh: >- 603 | 「ウィ/ウェ/ウォ」を使用する 604 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 605 | specs: 606 | - from: ソフトウエア 607 | to: ソフトウェア 608 | - expected: タイポグラフィ 609 | pattern: 610 | - タイポグラフィー 611 | prh: >- 612 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 613 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 614 | specs: 615 | - from: タイポグラフィー 616 | to: タイポグラフィ 617 | - expected: つけ$1 618 | pattern: 619 | - /(?- 621 | 平仮名にしたほうが読みやすい漢字は平仮名にする 622 | https://smarthr.design/products/contents/writing-style/ 623 | specs: 624 | - from: 付けない 625 | to: つけない 626 | - from: 付けて 627 | to: つけて 628 | - from: 付ける 629 | to: つける 630 | - from: 付ければ 631 | to: つければ 632 | - from: 付けよう 633 | to: つけよう 634 | - expected: TB 635 | pattern: 636 | - テラバイト 637 | prh: >- 638 | ファイルサイズは基本的に英字2文字で表記する 639 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recmk5vIbS65cWjA6-0 640 | specs: 641 | - from: 1テラバイト 642 | to: 1TB 643 | - expected: 問い合わせ 644 | pattern: 645 | - 問合せ 646 | prh: >- 647 | 送りがなを付けて表記する 648 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 649 | specs: 650 | - from: 問合せ 651 | to: 問い合わせ 652 | - expected: ともに 653 | pattern: 654 | - /(?- 656 | 平仮名にしたほうが読みやすい漢字は平仮名にする 657 | https://smarthr.design/products/contents/writing-style/#recWCPX1UhchVaFjO-0 658 | specs: 659 | - from: 共にする 660 | to: ともにする 661 | - from: 公共のために 662 | to: 公共のために 663 | - expected: ドラッグアンドドロップ 664 | pattern: 665 | - ドラッグ&ドロップ 666 | - ドラッグ・ドロップ 667 | specs: 668 | - from: ドラッグ&ドロップ 669 | to: ドラッグアンドドロップ 670 | - from: ドラッグ・ドロップ 671 | to: ドラッグアンドドロップ 672 | - expected: な$1 673 | pattern: 674 | - /無(い|く|し|か|き|け)/ 675 | prh: >- 676 | 平仮名にしたほうが読みやすい漢字は平仮名にする 677 | https://smarthr.design/products/contents/writing-style/ 678 | specs: 679 | - from: 無かった場合 680 | to: なかった場合 681 | - from: 無くなる 682 | to: なくなる 683 | - from: 無いとき 684 | to: ないとき 685 | - from: 無し 686 | to: なし 687 | - from: 無き 688 | to: なき 689 | - from: 無ければ 690 | to: なければ 691 | - expected: ナンバー 692 | pattern: 693 | - /ナンバ(?!ー)/ 694 | prh: >- 695 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 696 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 697 | specs: 698 | - from: ナンバ 699 | to: ナンバー 700 | - expected: 入力必須 701 | pattern: 702 | - 必須入力 703 | prh: >- 704 | 「入力必須」と表現し、「必須入力」の使用は控える 705 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recUVMSOhVDbQjMMN-0 706 | specs: 707 | - from: Aは必須入力です 708 | to: Aは入力必須です 709 | - from: 必須入力項目 710 | to: 入力必須項目 711 | - expected: はじめて 712 | pattern: 713 | - 初めて 714 | - 始めて 715 | prh: >- 716 | 平仮名にしたほうが読みやすい漢字は平仮名にする 717 | https://smarthr.design/products/contents/writing-style/ 718 | specs: 719 | - from: 初めて 720 | to: はじめて 721 | - from: 始めて 722 | to: はじめて 723 | - expected: 1つ 724 | pattern: 725 | - 一つ 726 | - ひとつ 727 | prh: >- 728 | 数字は半角の算用数字で表記する 729 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 730 | specs: 731 | - from: 一つ 732 | to: 1つ 733 | - from: ひとつ 734 | to: 1つ 735 | - expected: 1人 736 | pattern: 737 | - /(?- 739 | 数字は半角の算用数字で表記する 740 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 741 | specs: 742 | - from: 一人を選択 743 | to: 1人を選択 744 | - from: ひとりを選択 745 | to: 1人を選択 746 | - expected: ひな形 747 | pattern: 748 | - 雛形 749 | prh: >- 750 | 平仮名にしたほうが読みやすい漢字は平仮名にする 751 | https://smarthr.design/products/contents/writing-style/ 752 | specs: 753 | - from: 雛形 754 | to: ひな形 755 | - expected: 紐づ$1 756 | pattern: 757 | - /紐付([いかきけく])/ 758 | prh: >- 759 | 平仮名にしたほうが読みやすい漢字は平仮名にする 760 | https://smarthr.design/products/contents/writing-style/ 761 | specs: 762 | - from: 紐付いて 763 | to: 紐づいて 764 | - from: 紐付かない 765 | to: 紐づかない 766 | - from: 紐付きをhoge 767 | to: 紐づきをhoge 768 | - from: 紐付けて 769 | to: 紐づけて 770 | - from: 紐付くhoge 771 | to: 紐づくhoge 772 | - expected: フィルター 773 | pattern: 774 | - /フィルタ(?!(ー|リング))/ 775 | prh: >- 776 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 777 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 778 | specs: 779 | - from: フィルタ 780 | to: フィルター 781 | - from: フィルタリング 782 | to: フィルタリング 783 | - expected: フォルダ 784 | pattern: 785 | - フォルダー 786 | prh: >- 787 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 788 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 789 | specs: 790 | - from: フォルダー 791 | to: フォルダ 792 | - expected: 2つ 793 | pattern: 794 | - 二つ 795 | - ふたつ 796 | prh: >- 797 | 数字は半角の算用数字で表記する 798 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 799 | specs: 800 | - from: 二つ 801 | to: 2つ 802 | - from: ふたつ 803 | to: 2つ 804 | - expected: フッター 805 | pattern: 806 | - /フッタ(?!ー)/ 807 | prh: >- 808 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 809 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 810 | specs: 811 | - from: フッタ 812 | to: フッター 813 | - expected: プライバシー 814 | pattern: 815 | - /プライバシィ?(?!ー)/ 816 | prh: >- 817 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 818 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 819 | specs: 820 | - from: プライバシ 821 | to: プライバシー 822 | - from: プライバシィ 823 | to: プライバシー 824 | - expected: ブラウザ 825 | pattern: 826 | - /(?- 828 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 829 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 830 | specs: 831 | - from: ブラウザー 832 | to: ブラウザ 833 | - expected: ブラウザ 834 | pattern: 835 | - /(ウェブ|Web|web|WEB)ブラウザ/ 836 | prh: >- 837 | 「ウェブ」はカタカナで表記する 838 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 839 | specs: 840 | - from: ウェブブラウザ 841 | to: ブラウザ 842 | - from: Webブラウザ 843 | to: ブラウザ 844 | - from: webブラウザ 845 | to: ブラウザ 846 | - expected: プリンター 847 | pattern: 848 | - /プリンタ(?!ー)/ 849 | prh: >- 850 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり)https://smarthr.design/products/contents/idiomatic-usage/usage/ 851 | specs: 852 | - from: プリンタ 853 | to: プリンター 854 | - expected: ヘッダー 855 | pattern: 856 | - /ヘッダ(?!ー)/ 857 | prh: >- 858 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 859 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 860 | specs: 861 | - from: ヘッダ 862 | to: ヘッダー 863 | - expected: ポリシー 864 | pattern: 865 | - /ポリシィ?(?!ー)/ 866 | prh: >- 867 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 868 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 869 | specs: 870 | - from: ポリシィ 871 | to: ポリシー 872 | - from: ポリシ 873 | to: ポリシー 874 | - expected: マスターデータ 875 | pattern: 876 | - /(?- 879 | マスターデータの総称は「マスターデータ」、総称以外は「◯◯マスター」と表記するhttps://smarthr.design/products/contents/idiomatic-usage/usage/ 880 | specs: 881 | - from: マスタ 882 | to: マスターデータ 883 | - from: マスタデータ 884 | to: マスターデータ 885 | - from: 部署マスター 886 | to: 部署マスター 887 | - from: 役職マスター 888 | to: 役職マスター 889 | - from: 雇用形態マスター 890 | to: 雇用形態マスター 891 | - from: 続柄マスター 892 | to: 続柄マスター 893 | - from: 評価記号マスター 894 | to: 評価記号マスター 895 | - from: 給与支給形態マスター 896 | to: 給与支給形態マスター 897 | - from: SmartHRマスター 898 | to: SmartHRマスター 899 | - expected: マネージャー 900 | pattern: 901 | - /マネージャ(?!ー)/ 902 | prh: >- 903 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 904 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 905 | specs: 906 | - from: マネージャ 907 | to: マネージャー 908 | - expected: 見積もり 909 | pattern: 910 | - 見積り 911 | prh: >- 912 | 送りがなを付けて表記する 913 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 914 | specs: 915 | - from: 見積り 916 | to: 見積もり 917 | - expected: MB 918 | pattern: 919 | - メガバイト 920 | prh: >- 921 | ファイルサイズは基本的に英字2文字で表記する 922 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recmk5vIbS65cWjA6-0 923 | specs: 924 | - from: 1メガバイト 925 | to: 1MB 926 | - expected: メンバー 927 | pattern: 928 | - /メンバ(?!ー)/ 929 | prh: >- 930 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 931 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 932 | specs: 933 | - from: メンバ 934 | to: メンバー 935 | - expected: ユーザー 936 | pattern: 937 | - /ユーザ(?!(ー|ビリティ))/ 938 | prh: >- 939 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 940 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 941 | specs: 942 | - from: ユーザ 943 | to: ユーザー 944 | - from: ユーザビリティ 945 | to: ユーザビリティ 946 | - expected: よろしく 947 | pattern: 948 | - 宜しく 949 | prh: >- 950 | 平仮名にしたほうが読みやすい漢字は平仮名にする 951 | https://smarthr.design/products/contents/writing-style/ 952 | specs: 953 | - from: 宜しく 954 | to: よろしく 955 | - expected: レイヤー 956 | pattern: 957 | - /(?- 959 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 960 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 961 | specs: 962 | - from: レイヤ 963 | to: レイヤー 964 | - from: Flashプレイヤー 965 | to: Flashプレイヤー 966 | - expected: わか$2 967 | pattern: 968 | - /((?- 970 | 平仮名にしたほうが読みやすい漢字は平仮名にする 971 | https://smarthr.design/products/contents/writing-style/ 972 | specs: 973 | - from: 分からない 974 | to: わからない 975 | - from: 分かりやすい 976 | to: わかりやすい 977 | - from: 分かる 978 | to: わかる 979 | - from: 分かれば 980 | to: わかれば 981 | - from: 分かった 982 | to: わかった 983 | - from: 解らない 984 | to: わからない 985 | - from: 解りやすい 986 | to: わかりやすい 987 | - from: 解る 988 | to: わかる 989 | - from: 解れば 990 | to: わかれば 991 | - from: 解った 992 | to: わかった 993 | - from: 判らない 994 | to: わからない 995 | - from: 判りやすい 996 | to: わかりやすい 997 | - from: 判る 998 | to: わかる 999 | - from: 判れば 1000 | to: わかれば 1001 | - from: 判った 1002 | to: わかった 1003 | - expected: ⓪ 1004 | pattern: 1005 | - /[🄋⓿🄌]/ 1006 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1007 | - expected: ① 1008 | pattern: 1009 | - /[➀❶➊⓵]/ 1010 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1011 | - expected: ② 1012 | pattern: 1013 | - /[➁❷➋⓶]/ 1014 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1015 | - expected: ③ 1016 | pattern: 1017 | - /[➂❸➌⓷]/ 1018 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1019 | - expected: ④ 1020 | pattern: 1021 | - /[➃❹➍⓸]/ 1022 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1023 | - expected: ⑤ 1024 | pattern: 1025 | - /[➄❺➎⓹]/ 1026 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1027 | - expected: ⑥ 1028 | pattern: 1029 | - /[➅❻➏⓺]/ 1030 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1031 | - expected: ⑦ 1032 | pattern: 1033 | - /[➆❼➐⓻]/ 1034 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1035 | - expected: ⑧ 1036 | pattern: 1037 | - /[➇❽➑⓼]/ 1038 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1039 | - expected: ⑨ 1040 | pattern: 1041 | - /[➈❾➒⓽]/ 1042 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1043 | - expected: ⑩ 1044 | pattern: 1045 | - /[➉❿➓⓾]/ 1046 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1047 | - expected: ⑪ 1048 | pattern: 1049 | - /[⓫]/ 1050 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1051 | - expected: ⑫ 1052 | pattern: 1053 | - /[⓬]/ 1054 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1055 | - expected: ⑬ 1056 | pattern: 1057 | - /[⓭]/ 1058 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1059 | - expected: ⑭ 1060 | pattern: 1061 | - /[⓮]/ 1062 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1063 | - expected: ⑮ 1064 | pattern: 1065 | - /[⓯]/ 1066 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1067 | - expected: ⑯ 1068 | pattern: 1069 | - /[⓰]/ 1070 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1071 | - expected: ⑰ 1072 | pattern: 1073 | - /[⓱]/ 1074 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1075 | - expected: ⑱ 1076 | pattern: 1077 | - /[⓲]/ 1078 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1079 | - expected: ⑲ 1080 | pattern: 1081 | - /[⓳]/ 1082 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1083 | - expected: ⑳ 1084 | pattern: 1085 | - /[⓴]/ 1086 | prh: 丸数字は⓪(U+24EA)、①(U+2460)〜㊿(U+32BF)を使います。 1087 | - expected: 企業アカウント 1088 | pattern: 1089 | - /テナント(?!ID)/ 1090 | prh: >- 1091 | 「企業アカウント」と表現し、「テナント」の使用は控える 1092 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1093 | specs: 1094 | - from: テナント 1095 | to: 企業アカウント 1096 | - expected: 在籍状況 1097 | pattern: 1098 | - 在職状況 1099 | prh: >- 1100 | 従業員の休職や退職を表すステータスの総称は「在籍状況」と表現し、勤務中の状態は「在職中」と表現する 1101 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1102 | specs: 1103 | - from: 在職状況 1104 | to: 在籍状況 1105 | - expected: 在職中 1106 | pattern: 1107 | - 在籍中 1108 | prh: >- 1109 | 従業員の休職や退職を表すステータスの総称は「在籍状況」と表現し、勤務中の状態は「在職中」と表現する 1110 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1111 | specs: 1112 | - from: 在籍中 1113 | to: 在職中 1114 | - expected: 再読み込み 1115 | pattern: 1116 | - /再(読込み|読込)|リロード/ 1117 | prh: >- 1118 | 「再読み込み」と表現し、「更新」「リロード」の使用は控える 1119 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1120 | specs: 1121 | - from: 再読込み 1122 | to: 再読み込み 1123 | - from: 再読込 1124 | to: 再読み込み 1125 | - from: リロード 1126 | to: 再読み込み 1127 | - from: 再読み込み 1128 | to: 再読み込み 1129 | - expected: 動作環境 1130 | pattern: 1131 | - 推奨環境 1132 | prh: >- 1133 | 「動作環境」と表現し、「推奨環境」の使用は控える 1134 | 1135 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recrOBmlqFtzIUKDh-0 1136 | specs: 1137 | - from: 推奨環境 1138 | to: 動作環境 1139 | - expected: 主な 1140 | pattern: 1141 | - おもな 1142 | specs: 1143 | - from: おもな作業はhogeです 1144 | to: 主な作業はhogeです 1145 | - expected: 主に 1146 | pattern: 1147 | - おもに 1148 | specs: 1149 | - from: おもに労務担当者が使用します 1150 | to: 主に労務担当者が使用します 1151 | - expected: コピーアンドペースト 1152 | pattern: 1153 | - /コピー&ペースト|コピー&ペースト|コピー・ペースト|コピペ/ 1154 | specs: 1155 | - from: コピー&ペースト 1156 | to: コピーアンドペースト 1157 | - from: コピー&ペースト 1158 | to: コピーアンドペースト 1159 | - from: コピー・ペースト 1160 | to: コピーアンドペースト 1161 | - from: コピペ 1162 | to: コピーアンドペースト 1163 | - expected: システム標準マスター 1164 | pattern: 1165 | - /(システム標準マスターデータ|システム標準マスタ(?!ー))/ 1166 | prh: >- 1167 | マスターデータの総称は「マスターデータ」、総称以外は「◯◯マスター」と表記する 1168 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1169 | specs: 1170 | - from: システム標準マスタ 1171 | to: システム標準マスター 1172 | - from: システム標準マスターデータ 1173 | to: システム標準マスター 1174 | - from: システム標準マスター 1175 | to: システム標準マスター 1176 | - expected: カスタムマスター 1177 | pattern: 1178 | - /(カスタムマスターデータ|カスタムマスタ(?!ー))/ 1179 | prh: >- 1180 | マスターデータの総称は「マスターデータ」、総称以外は「◯◯マスター」と表記する 1181 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1182 | specs: 1183 | - from: カスタムマスタ 1184 | to: カスタムマスター 1185 | - from: カスタムマスターデータ 1186 | to: カスタムマスター 1187 | - from: カスタムマスター 1188 | to: カスタムマスター 1189 | - expected: SmartHR基本機能 1190 | pattern: 1191 | - /SmartHR本体アプリ|本体アプリ|SmartHR本体/ 1192 | prh: >- 1193 | アプリケーションの呼び方には「SmartHR基本機能」と「オプション機能」を使用する 1194 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1195 | specs: 1196 | - from: SmartHR本体アプリの権限ごとに設定します 1197 | to: SmartHR基本機能の権限ごとに設定します 1198 | - from: SmartHR本体の権限ごとに設定します 1199 | to: SmartHR基本機能の権限ごとに設定します 1200 | - from: 本体アプリの権限ごとに設定します 1201 | to: SmartHR基本機能の権限ごとに設定します 1202 | - expected: オプション機能 1203 | pattern: 1204 | - プラスアプリ 1205 | prh: >- 1206 | アプリケーションの呼び方には「SmartHR基本機能」と「オプション機能」を使用する 1207 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1208 | specs: 1209 | - from: 通勤経路検索機能はプラスアプリです 1210 | to: 通勤経路検索機能はオプション機能です 1211 | - expected: ウェイト 1212 | pattern: 1213 | - ウエイト 1214 | prh: >- 1215 | 「ウィ/ウェ/ウォ」を使用する 1216 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recvhB6VJstpBQKeV-0 1217 | specs: 1218 | - from: 大きなウエイトを占める 1219 | to: 大きなウェイトを占める 1220 | - expected: ドロップダウンリスト 1221 | pattern: 1222 | - /プルダウン(メニュー|リスト)|プルダウン|ドロップダウンメニュー|ドロップダウン(?!リスト)/ 1223 | prh: >- 1224 | 「ドロップダウンリスト」と表現し、「プルダウンメニュー」などの使用は控える 1225 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1226 | specs: 1227 | - from: プルダウンから選ぶ 1228 | to: ドロップダウンリストから選ぶ 1229 | - from: プルダウンリストから選ぶ 1230 | to: ドロップダウンリストから選ぶ 1231 | - from: ドロップダウンメニューから選ぶ 1232 | to: ドロップダウンリストから選ぶ 1233 | - from: プルダウンメニューから選ぶ 1234 | to: ドロップダウンリストから選ぶ 1235 | - from: ドロップダウンから選ぶ 1236 | to: ドロップダウンリストから選ぶ 1237 | - expected: 伴$1 1238 | pattern: 1239 | - /ともな([いうえおわっ])/ 1240 | specs: 1241 | - from: ともない 1242 | to: 伴い 1243 | - from: ともなう 1244 | to: 伴う 1245 | - from: ともなえ 1246 | to: 伴え 1247 | - from: ともなおう 1248 | to: 伴おう 1249 | - from: ともなわない 1250 | to: 伴わない 1251 | - from: ともなって 1252 | to: 伴って 1253 | - expected: パソコン 1254 | pattern: 1255 | - /(?- 1257 | 「パソコン」と表記し、「PC」の使用は控える 1258 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recw4wmIL3QqcKmoc-0 1259 | specs: 1260 | - from: PCを使用します 1261 | to: パソコンを使用します 1262 | - from: HOGEPCFOO 1263 | to: HOGEPCFOO 1264 | - expected: 画面 1265 | pattern: 1266 | - /モーダルウィンドウ|モーダルダイアログ|ウィンドウ|ダイアログ|モーダル/ 1267 | prh: >- 1268 | アプリケーションの操作画面は「画面」で表記する 1269 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recuyZUYZxqRrVbeB-0 1270 | specs: 1271 | - from: 別ウィンドウで開く 1272 | to: 別画面で開く 1273 | - from: 削除ダイアログ 1274 | to: 削除画面 1275 | - from: モーダルを閉じる 1276 | to: 画面を閉じる 1277 | - expected: か所 1278 | pattern: 1279 | - /(?- 1281 | 「か所」「か月」と表記する 1282 | https://smarthr.design/products/contents/idiomatic-usage/usage/#rec1wuNfx5bfUqAxd-0 1283 | specs: 1284 | - from: 3ヶ所 1285 | to: 3か所 1286 | - from: 3ケ所 1287 | to: 3か所 1288 | - from: 3箇所 1289 | to: 3か所 1290 | - from: 3個所 1291 | to: 3か所 1292 | - from: 3ヵ所 1293 | to: 3か所 1294 | - from: 3カ所 1295 | to: 3か所 1296 | - expected: か月 1297 | pattern: 1298 | - /ヶ月|ケ月|箇月|個月|ヵ月|カ月/ 1299 | prh: >- 1300 | 「か所」「か月」と表記する 1301 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1302 | specs: 1303 | - from: 給与明細が1ヶ月単位で発行されます 1304 | to: 給与明細が1か月単位で発行されます 1305 | - from: 給与明細が1箇月単位で発行されます 1306 | to: 給与明細が1か月単位で発行されます 1307 | - expected: 改$1 1308 | pattern: 1309 | - /あらた([めま])/ 1310 | specs: 1311 | - from: あらためて 1312 | to: 改めて 1313 | - expected: ほぐ$1 1314 | pattern: 1315 | - /(?- 1317 | 平仮名にしたほうが読みやすい漢字は平仮名にする 1318 | https://smarthr.design/products/contents/writing-style/ 1319 | specs: 1320 | - from: 解さない 1321 | to: ほぐさない 1322 | - from: 解して 1323 | to: ほぐして 1324 | - from: 解す 1325 | to: ほぐす 1326 | - from: 解せば 1327 | to: ほぐせば 1328 | - from: 解そう 1329 | to: ほぐそう 1330 | - from: 正解 1331 | to: 正解 1332 | - from: 分解 1333 | to: 分解 1334 | - from: 理解 1335 | to: 理解 1336 | - from: 読解 1337 | to: 読解 1338 | - expected: 手引き 1339 | pattern: 1340 | - /手引(?!き)/ 1341 | prh: >- 1342 | 送りがなを付けて表記する 1343 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recm8V38MkxhYrKNr-0 1344 | specs: 1345 | - from: サーベイ実施の手引を参照 1346 | to: サーベイ実施の手引きを参照 1347 | - from: 手引き 1348 | to: 手引き 1349 | - expected: レビュアー 1350 | pattern: 1351 | - /レビュ(ア(?!ー)|ワー)/ 1352 | prh: >- 1353 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 1354 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1355 | specs: 1356 | - from: レビュア 1357 | to: レビュアー 1358 | - from: レビュワー 1359 | to: レビュアー 1360 | - expected: ユーザビリティ 1361 | pattern: 1362 | - ユーザビリティー 1363 | - ユーザービリティ 1364 | prh: >- 1365 | ‐er、‐or、‐arで終わる単語は「長音あり」、-yで終わる単語は「長音なし」とする(例外あり) 1366 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1367 | specs: 1368 | - from: ユーザービリティ 1369 | to: ユーザビリティ 1370 | - from: ユーザビリティー 1371 | to: ユーザビリティ 1372 | - expected: 並$1 1373 | pattern: 1374 | - /なら([びぶべ])(?!に)/ 1375 | specs: 1376 | - from: 横ならび 1377 | to: 横並び 1378 | - from: 縦ならび 1379 | to: 縦並び 1380 | - from: ならび順 1381 | to: 並び順 1382 | - expected: 詳し 1383 | pattern: 1384 | - くわし 1385 | specs: 1386 | - from: くわしくは 1387 | to: 詳しくは 1388 | - expected: 検索フォーム 1389 | pattern: 1390 | - 検索ボックス 1391 | specs: 1392 | - from: 検索ボックスに入力 1393 | to: 検索フォームに入力 1394 | - expected: にもかかわらず 1395 | pattern: 1396 | - /(にも関わらず|にも拘らず|にも係わらず)/ 1397 | prh: >- 1398 | 「にもかかわらず」と平仮名で表記する 1399 | https://smarthr.design/products/contents/idiomatic-usage/usage/ 1400 | specs: 1401 | - from: 入力したにも関わらず 1402 | to: 入力したにもかかわらず 1403 | - from: 入力したにも拘らず 1404 | to: 入力したにもかかわらず 1405 | - expected: 言語選択 1406 | pattern: 1407 | - /言語切(替え|り替え|替|換え|り換え|換)/ 1408 | specs: 1409 | - from: 言語切替 1410 | to: 言語選択 1411 | - from: 言語切り替え 1412 | to: 言語選択 1413 | - from: 言語切替え 1414 | to: 言語選択 1415 | - from: 言語切換 1416 | to: 言語選択 1417 | - from: 言語切り換え 1418 | to: 言語選択 1419 | - from: 言語切換え 1420 | to: 言語選択 1421 | - expected: 健康保険組合 1422 | pattern: 1423 | - /健保組合|組合健保/ 1424 | specs: 1425 | - from: 健保組合 1426 | to: 健康保険組合 1427 | - from: 組合健保 1428 | to: 健康保険組合 1429 | - expected: サンプル 1430 | pattern: 1431 | - ダミー 1432 | prh: 「サンプル」と表記し、「ダミー」は使用しない 1433 | specs: 1434 | - from: ダミー 1435 | to: サンプル 1436 | - from: ダミーデータ 1437 | to: サンプルデータ 1438 | - from: ダミーテキスト 1439 | to: サンプルテキスト 1440 | - expected: シミュレーション 1441 | pattern: 1442 | - シュミレーション 1443 | specs: 1444 | - from: シュミレーション 1445 | to: シミュレーション 1446 | - expected: 文書配付 1447 | pattern: 1448 | - 文書配布 1449 | specs: 1450 | - from: 文書配布 1451 | to: 文書配付 1452 | - expected: 押せ 1453 | pattern: 1454 | - 押下でき 1455 | prh: >- 1456 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1457 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1458 | specs: 1459 | - from: ボタンを押下できる 1460 | to: ボタンを押せる 1461 | - from: ボタンを押下できない 1462 | to: ボタンを押せない 1463 | - expected: 押す 1464 | pattern: 1465 | - 押下する 1466 | prh: >- 1467 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1468 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1469 | specs: 1470 | - from: ボタンを押下する 1471 | to: ボタンを押す 1472 | - expected: 押さない 1473 | pattern: 1474 | - 押下しない 1475 | prh: >- 1476 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1477 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1478 | specs: 1479 | - from: ボタンを押下しない 1480 | to: ボタンを押さない 1481 | - expected: 押せば 1482 | pattern: 1483 | - 押下すれば 1484 | prh: >- 1485 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1486 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1487 | specs: 1488 | - from: ボタンを押下すれば 1489 | to: ボタンを押せば 1490 | - expected: 押します 1491 | pattern: 1492 | - 押下します 1493 | prh: >- 1494 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1495 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1496 | specs: 1497 | - from: ボタンを押下します 1498 | to: ボタンを押します 1499 | - expected: 押した 1500 | pattern: 1501 | - 押下した 1502 | prh: >- 1503 | プロダクト内でユーザーにボタン押下を促す際は「押す」を使用する 1504 | https://smarthr.design/products/contents/idiomatic-usage/usage/#recVAeJr4Di3vQHeA-0 1505 | specs: 1506 | - from: ボタンを押下した 1507 | to: ボタンを押した 1508 | - expected: "$1 $2" 1509 | pattern: 1510 | - /(?- 1512 | 全角記号「?」と「!」の後に全角スペースを入れる 1513 | https://smarthr.design/products/contents/idiomatic-usage/symbol/#h2-5 1514 | specs: 1515 | - from: どうしましょうか?早急に決定が必要です。 1516 | to: どうしましょうか? 早急に決定が必要です。 1517 | - from: "# データを取り込めますか?取り込み方を教えてください。" 1518 | to: "# データを取り込めますか?取り込み方を教えてください。" 1519 | - from: "Q. データを取り込めますか?取り込み方を教えてください。" 1520 | to: "Q. データを取り込めますか?取り込み方を教えてください。" 1521 | - from: "「取り込みを始めますか?」または[取り込みを始めますか?]を押してください。" 1522 | to: "「取り込みを始めますか?」または[取り込みを始めますか?]を押してください。" 1523 | - from: "「完了!」または[完了!]を押してください。" 1524 | to: "「完了!」または[完了!]を押してください。" 1525 | - from: "\"どんなことにお困りですか?\"" 1526 | to: "\"どんなことにお困りですか?\"" 1527 | - from: "\"どんなことにお困りですか?具体的に教えて下さい。\"" 1528 | to: "\"どんなことにお困りですか? 具体的に教えて下さい。\"" 1529 | - from: "どんなことにお困りですか?|ヘルプセンター" 1530 | to: "どんなことにお困りですか?|ヘルプセンター" 1531 | - from: "[どんなことにお困りですか?]" 1532 | to: "[どんなことにお困りですか?]" 1533 | - from: "どんなことにお困りですか?/foo.md" 1534 | to: "どんなことにお困りですか?/foo.md" 1535 | - from: "どんなことにお困りですか?{br}具体的に教えて下さい。" 1536 | to: "どんなことにお困りですか?{br}具体的に教えて下さい。" 1537 | - from: "

どんなことにお困りですか?

" 1538 | to: "

どんなことにお困りですか?

" 1539 | - from: "

どんなことにお困りですか?

" 1540 | to: "

どんなことにお困りですか?

" 1541 | - from: >- 1542 |

1543 | どんなことにお困りですか? 1544 |

1545 | to: >- 1546 |

1547 | どんなことにお困りですか? 1548 |

1549 | - from: "どんなことにお困りですか?\\n" 1550 | to: "どんなことにお困りですか?\\n" 1551 | -------------------------------------------------------------------------------- /example/.npmrc: -------------------------------------------------------------------------------- 1 | lockfile=false 2 | -------------------------------------------------------------------------------- /example/.textlintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "preset-smarthr": { 4 | "prh-rules": true, 5 | "ja-no-mixed-period": true, 6 | "no-hankaku-kana": true, 7 | "@textlint-rule/no-unmatched-pair": true, 8 | "sentence-length": { 9 | "max": 120 10 | }, 11 | "no-doubled-conjunctive-particle-ga": true, 12 | "no-double-negative-ja": true, 13 | "ja-no-abusage": true, 14 | "ja-no-redundant-expression": true, 15 | "no-mixed-zenkaku-and-hankaku-alphabet": true, 16 | "ja-keishikimeishi": { 17 | "detection_hou_kata" : false, 18 | "detection_ue" : false 19 | }, 20 | "ja-hiragana-hojodoushi": true, 21 | "ja-hiragana-daimeishi": true, 22 | "ja-no-space-around-parentheses": true, 23 | "ja-no-space-between-full-width": true, 24 | "ja-space-between-half-and-full-width": { 25 | "space": "never" 26 | }, 27 | "ja-space-after-exclamation": true, 28 | "ja-space-after-question": true, 29 | "ja-space-around-code": false 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /example/docs/sample.md: -------------------------------------------------------------------------------- 1 | # textlintが通る文章 2 | 3 | SmartHRの申請機能とは、従業員情報を申請フォームを使って従業員から収集できる機能です。 4 | 5 | 従業員が提出した申請が承認されると従業員情報が更新されます。(承認の省略もできます) 6 | 7 | 申請から行政手続き(書類)は作成できません。 8 | 9 | 申請フォーム上で、従業員項目のシステム標準項目と登録済みのカスタム項目の情報を入力、収集できます。 10 | 11 | カスタム項目と組み合わせることで、さまざまな申請フォームとして利用できます。 12 | 13 | マスターを使ってユーザーがフィルターを操作するとナンバーとメンバーがレイヤーに追加され、プリンターとヘッダーがフッターとして追加されます! 14 | 15 | ブラウザとフォルダについてはアクセシビリティの観点から、同等のクエリなどを書きます!! 16 | 17 | [元に戻る]をクリックし、給与額を基に計算します。 18 | 19 | ユーザービリティの観点から許容します。 20 | 21 | ①から⑳を埋めてください。 22 | 23 | 企業アカウントを作成する。 24 | 25 | サブドメインを変更する。 26 | 27 | 手続きを削除する方は、ヘルプページを参照してください。 28 | 29 | 開始後でも。 30 | 31 | 終了後でも。 32 | 33 | 直後でも。 34 | 35 | 5時頃に送信されます。 36 | 37 | # textlint がエラーを出す文章 38 | 39 | SmartHRの申請機能とは、従業員情報を、予め作った申請フォームを使って、従業員から、収集することができる機能です。 40 | 41 | 之は従業員が提出した申請が承認されると従業員情報が更新され、承認の省略もできますが、申請から行政手続き(書類)は作成できませんし、従業員が提出した申請が承認されると従業員情報が更新され、承認の省略もできますが、申請から行政手続き(書類)は作成できなくもないです。 42 | 43 | 申請フォームと SmartHR を適応させて下さい。 44 | 45 | マスタを使ってユーザがフィルタを操作するとナンバとメンバがレイヤに追加され、プリンタとヘッダがフッタとして追加されます! 46 | 47 | ブラウザーとフォルダーについてはアクセシビリティーの観点から、同等のクエリー等を書きます!! 48 | 49 | [もとに戻る]をクリックし、給与額をもとに計算します。 50 | 51 | ユーザービリティの観点から許容します。 52 | 53 | ➀と❷と➌と⓸は間違いです。 54 | 55 | テナントを作成する。 56 | 57 | テナントIDを変更する。 58 | 59 | 従業員が招待フォームを提出すると、**[○○さんの招待フォームが提出されました]**というメッセージが通知履歴に表示されます。 60 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "private": true, 4 | "scripts": { 5 | "test": "textlint ./**/*.md" 6 | }, 7 | "author": "", 8 | "license": "MIT", 9 | "dependencies": { 10 | "textlint": "^14.7.2", 11 | "textlint-rule-preset-smarthr": "file:.." 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.35.0", 3 | "keywords": [ 4 | "textlint", 5 | "textlintrule", 6 | "smarthr" 7 | ], 8 | "main": "lib/index.js", 9 | "files": [ 10 | "lib", 11 | "src", 12 | "dict" 13 | ], 14 | "homepage": "https://github.com/kufu/textlint-rule-preset-smarthr#readme", 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/kufu/textlint-rule-preset-smarthr.git" 18 | }, 19 | "engines": { 20 | "pnpm": "=10.10.0" 21 | }, 22 | "scripts": { 23 | "example": "cd example && pnpm it", 24 | "test:textlint-scripts": "textlint-scripts test", 25 | "test:dict": "textlint --config test/.textlintrc README.md", 26 | "test": "pnpm run test:dict && pnpm run test:textlint-scripts", 27 | "build": "textlint-scripts build", 28 | "prepublishOnly": "pnpm run --if-present build", 29 | "release": "standard-version", 30 | "release:dryrun": "standard-version --dry-run" 31 | }, 32 | "devDependencies": { 33 | "@commitlint/cli": "^19.8.1", 34 | "@commitlint/config-conventional": "^19.8.1", 35 | "@textlint/types": "^14.7.2", 36 | "@types/js-yaml": "^4.0.9", 37 | "@types/node": "^18.19.110", 38 | "fs": "^0.0.1-security", 39 | "husky": "^9.1.7", 40 | "js-yaml": "^4.1.0", 41 | "prettier": "^3.5.3", 42 | "standard-version": "^9.3.2", 43 | "textlint": "^14.7.2", 44 | "textlint-scripts": "^14.7.2", 45 | "textlint-tester": "^14.7.2", 46 | "ts-node": "^10.9.2", 47 | "typescript": "^5.8.3" 48 | }, 49 | "dependencies": { 50 | "@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.4", 51 | "@textlint/module-interop": "^14.7.2", 52 | "textlint-rule-ja-hiragana-daimeishi": "^1.0.0", 53 | "textlint-rule-ja-hiragana-hojodoushi": "^1.1.0", 54 | "textlint-rule-ja-keishikimeishi": "^1.0.5", 55 | "textlint-rule-ja-nakaguro-or-halfwidth-space-between-katakana": "^2.4.3", 56 | "textlint-rule-ja-no-abusage": "^3.0.0", 57 | "textlint-rule-ja-no-mixed-period": "^3.0.1", 58 | "textlint-rule-ja-no-redundant-expression": "^4.0.1", 59 | "textlint-rule-ja-no-space-around-parentheses": "^2.4.2", 60 | "textlint-rule-ja-no-space-between-full-width": "^2.4.2", 61 | "textlint-rule-ja-space-after-exclamation": "^2.4.2", 62 | "textlint-rule-ja-space-after-question": "^2.4.2", 63 | "textlint-rule-ja-space-around-code": "^2.4.2", 64 | "textlint-rule-ja-space-between-half-and-full-width": "^2.4.2", 65 | "textlint-rule-no-double-negative-ja": "^2.0.1", 66 | "textlint-rule-no-doubled-conjunction": "^3.0.0", 67 | "textlint-rule-no-doubled-conjunctive-particle-ga": "^3.0.0", 68 | "textlint-rule-no-doubled-joshi": "^5.1.0", 69 | "textlint-rule-no-dropping-the-ra": "^3.0.0", 70 | "textlint-rule-no-hankaku-kana": "^2.0.1", 71 | "textlint-rule-no-mix-dearu-desumasu": "^6.0.4", 72 | "textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet": "^1.0.1", 73 | "textlint-rule-no-nfd": "^2.0.2", 74 | "textlint-rule-prh": "^6.1.0", 75 | "textlint-rule-sentence-length": "^5.2.0" 76 | }, 77 | "name": "textlint-rule-preset-smarthr", 78 | "directories": { 79 | "test": "test" 80 | }, 81 | "author": "SmartHR textlint Team", 82 | "license": "MIT", 83 | "description": "SmartHRらしい文書を書くための、textlintルールプリセットを提供します。", 84 | "packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39" 85 | } 86 | -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 | "extends": ["local>kufu/renovate-config"], 4 | "npm": { 5 | "postUpdateOptions": ["pnpmDedupe"], 6 | "packageRules": [ 7 | { 8 | "groupName": "textlint rules", 9 | "matchPackageNames": [ 10 | "@textlint-rule/textlint-rule-no-unmatched-pair", 11 | "/^textlint-rule-*/" 12 | ], 13 | "matchUpdateTypes": ["minor", "patch"], 14 | "automerge": true 15 | }, 16 | { 17 | "groupName": "textlint family", 18 | "matchPackageNames": [ 19 | "textlint", 20 | "@textlint/types", 21 | "textlint-scripts", 22 | "textlint-tester", 23 | "@textlint/module-interop" 24 | ], 25 | "matchUpdateTypes": ["minor", "patch"], 26 | "automerge": true 27 | }, 28 | { 29 | "matchUpdateTypes": ["minor", "patch"], 30 | "automerge": true 31 | } 32 | ] 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /scripts/getLatestChangelog.ts: -------------------------------------------------------------------------------- 1 | import * as fs from 'fs' 2 | 3 | const stream = fs.createReadStream(`${__dirname}/../CHANGELOG.md`, { 4 | encoding: 'utf8', 5 | highWaterMark: 1024, 6 | }) 7 | 8 | let buffer = '' 9 | 10 | stream.on('data', (chunk) => { 11 | buffer += chunk.toString('utf8') 12 | // The changelog after the second release header is for old version. 13 | // Therefore, the part before that is considered as the changelog for latest release. 14 | const matched = buffer.match(/\n#+\s\[?\d+\.\d+.\d+(-\d+)?\]?/g) 15 | if (matched === null || matched.length < 2) { 16 | return 17 | } 18 | const prevHeader = matched[1] 19 | const prevHeaderIndex = buffer.indexOf(prevHeader) 20 | const latestChangelog = buffer.slice(0, prevHeaderIndex) 21 | console.log(latestChangelog) 22 | stream.destroy() 23 | }) 24 | 25 | stream.on('end', () => { 26 | // This will only runs if two version headers are not found. 27 | // In this case, the whole changelog is considered as the changelog for latest release. 28 | console.log(buffer) 29 | }) 30 | -------------------------------------------------------------------------------- /src/@type/textlint-rule-prh.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'textlint-rule-prh' 2 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { moduleInterop } from '@textlint/module-interop' 2 | 3 | module.exports = { 4 | rules: { 5 | 'prh-rules': moduleInterop(require('./prh-rules')), 6 | 'ja-no-mixed-period': moduleInterop(require('textlint-rule-ja-no-mixed-period')), 7 | 'no-hankaku-kana': moduleInterop(require('textlint-rule-no-hankaku-kana')), 8 | '@textlint-rule/no-unmatched-pair': moduleInterop(require('@textlint-rule/textlint-rule-no-unmatched-pair')), 9 | 'sentence-length': moduleInterop(require('textlint-rule-sentence-length')), 10 | 'no-doubled-conjunctive-particle-ga': moduleInterop(require('textlint-rule-no-doubled-conjunctive-particle-ga')), 11 | 'no-double-negative-ja': moduleInterop(require('textlint-rule-no-double-negative-ja')), 12 | 'ja-no-abusage': moduleInterop(require('textlint-rule-ja-no-abusage')), 13 | 'ja-no-redundant-expression': moduleInterop(require('textlint-rule-ja-no-redundant-expression')), 14 | 'no-mixed-zenkaku-and-hankaku-alphabet': moduleInterop(require('textlint-rule-no-mixed-zenkaku-and-hankaku-alphabet')), 15 | 'ja-keishikimeishi': moduleInterop(require('textlint-rule-ja-keishikimeishi')), 16 | 'ja-hiragana-hojodoushi': moduleInterop(require('textlint-rule-ja-hiragana-hojodoushi')), 17 | 'ja-hiragana-daimeishi': moduleInterop(require('textlint-rule-ja-hiragana-daimeishi')), 18 | 'ja-no-space-around-parentheses': moduleInterop(require('textlint-rule-ja-no-space-around-parentheses')), 19 | 'ja-no-space-between-full-width': moduleInterop(require('textlint-rule-ja-no-space-between-full-width')), 20 | 'ja-space-between-half-and-full-width': moduleInterop(require('textlint-rule-ja-space-between-half-and-full-width')), 21 | 'ja-space-after-exclamation': moduleInterop(require('textlint-rule-ja-space-after-exclamation')), 22 | 'ja-space-after-question': moduleInterop(require('textlint-rule-ja-space-after-question')), 23 | 'ja-space-around-code': moduleInterop(require('textlint-rule-ja-space-around-code')), 24 | 'no-nfd': moduleInterop(require('textlint-rule-no-nfd')), 25 | }, 26 | 27 | rulesConfig: { 28 | 'prh-rules': true, 29 | 'ja-no-mixed-period': true, 30 | 'no-hankaku-kana': true, 31 | '@textlint-rule/no-unmatched-pair': true, 32 | 'sentence-length': { 33 | max: 120, 34 | }, 35 | 'no-doubled-conjunctive-particle-ga': true, 36 | 'no-double-negative-ja': true, 37 | 'ja-no-abusage': true, 38 | 'ja-no-redundant-expression': true, 39 | 'no-mixed-zenkaku-and-hankaku-alphabet': true, 40 | 'ja-keishikimeishi': { 41 | 'detection_hou_kata' : false, 42 | 'detection_ue' : false 43 | }, 44 | 'ja-hiragana-hojodoushi': true, 45 | 'ja-hiragana-daimeishi': true, 46 | 'ja-nakaguro-or-halfwidth-space-between-katakana': true, 47 | 'ja-no-space-around-parentheses': true, 48 | 'ja-no-space-between-full-width': true, 49 | 'ja-space-between-half-and-full-width': { 50 | space: 'never', 51 | }, 52 | 'ja-space-after-exclamation': true, 53 | 'ja-space-after-question': true, 54 | 'ja-space-around-code': false, 55 | 'no-nfd': true 56 | }, 57 | } 58 | -------------------------------------------------------------------------------- /src/prh-rules.ts: -------------------------------------------------------------------------------- 1 | import fs from 'fs' 2 | import prh from 'textlint-rule-prh' 3 | 4 | const reporter = (context: any) => { 5 | const idiomaticUsage = fs.readFileSync(__dirname + '/../dict/prh-idiomatic-usage.yml', 'utf-8') 6 | return prh.fixer(context, { 7 | ruleContents: [idiomaticUsage], 8 | }) 9 | } 10 | 11 | module.exports = { 12 | linter: reporter, 13 | fixer: reporter, 14 | } 15 | -------------------------------------------------------------------------------- /test/.textlintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "prh": { 4 | "rulePaths": [ 5 | "../dict/prh-idiomatic-usage.yml" 6 | ] 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/cases/pass.js: -------------------------------------------------------------------------------- 1 | import { TextLintCore } from "textlint"; 2 | import assert from "assert"; 3 | import rule from "../../src/index" 4 | 5 | describe("textlint-rule-preset-smarthr", () => { 6 | // Copied from textlint/src/config/config.js 7 | const defaultOptions = Object.freeze({ 8 | // rule package names 9 | rules: [], 10 | // disabled rule package names 11 | // always should start with empty 12 | disabledRules: [], 13 | // rules config object 14 | rulesConfig: {}, 15 | // filter rule package names 16 | filterRules: [], 17 | disabledFilterRules: [], 18 | // rules config object 19 | filterRulesConfig: {}, 20 | // preset package names 21 | // e.g.) ["preset-foo"] 22 | presets: [], 23 | // plugin package names 24 | plugins: [], 25 | // plugin config 26 | pluginsConfig: {}, 27 | // base directory for loading {rule, config, plugin} modules 28 | rulesBaseDirectory: undefined, 29 | // ".textlint" file path 30 | configFile: undefined, 31 | // rule directories 32 | rulePaths: [], 33 | // formatter file name 34 | // e.g.) stylish.js => set "stylish" 35 | // NOTE: default formatter is defined in Engine, 36 | // because There is difference between TextLintEngine and TextFixEngine. 37 | formatterName: undefined, 38 | // --quiet 39 | quiet: false, 40 | // --no-color 41 | color: true, 42 | // --no-textlintrc 43 | textlintrc: true, 44 | // --cache : enable or disable 45 | cache: false, 46 | // --cache-location: cache file path 47 | cacheLocation: undefined, 48 | // --ignore-path: ".textlintignore" file path 49 | ignoreFile: undefined 50 | }); 51 | 52 | const buildTextlint = () => { 53 | const options = Object.assign({}, defaultOptions, rule) 54 | 55 | const textlint = new TextLintCore(options) 56 | textlint.setupRules(options.rules, options.rulesConfig) 57 | 58 | return textlint 59 | } 60 | 61 | context("valid cases", () => { 62 | const validStrings = [ 63 | "正しく。" 64 | ] 65 | 66 | it("should pass", async () => { 67 | const textlint = buildTextlint() 68 | 69 | for (const text of validStrings) { 70 | const { messages } = await textlint.lintText(text) 71 | assert.deepEqual(messages, []) 72 | } 73 | }) 74 | }) 75 | }) 76 | -------------------------------------------------------------------------------- /test/index-test.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | import assert from "assert"; 3 | import index from "../src/index"; 4 | describe("index-test", function () { 5 | context("rules", function () { 6 | it("should have default rulesConfig", function () { 7 | Object.keys(index.rules).forEach((ruleName) => { 8 | assert( 9 | index.rulesConfig[ruleName] !== undefined, 10 | `${ruleName} ref is undefined.` 11 | ); 12 | }); 13 | }); 14 | it("should not ref same function", function () { 15 | Object.keys(index.rules).forEach((ruleName) => { 16 | let rule = index.rules[ruleName]; 17 | Object.keys(index.rules).forEach((otherRuleName) => { 18 | if (otherRuleName !== ruleName) { 19 | assert( 20 | rule !== index.rules[otherRuleName], 21 | `${ruleName} !== ${otherRuleName}` 22 | ); 23 | } 24 | }); 25 | }); 26 | }); 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Basic Options */ 4 | "module": "commonjs", 5 | "moduleResolution": "node", 6 | "esModuleInterop": true, 7 | "noEmit": true, 8 | "target": "es2015", 9 | /* Strict Type-Checking Options */ 10 | "strict": true, 11 | /* Additional Checks */ 12 | /* Report errors on unused locals. */ 13 | "noUnusedLocals": true, 14 | /* Report errors on unused parameters. */ 15 | "noUnusedParameters": true, 16 | /* Report error when not all code paths in function return a value. */ 17 | "noImplicitReturns": true, 18 | /* Report errors for fallthrough cases in switch statement. */ 19 | "noFallthroughCasesInSwitch": true 20 | } 21 | } 22 | --------------------------------------------------------------------------------