Skip to content

Commit

Permalink
Merge pull request #58 from 1c-syntax/l10n_8.5
Browse files Browse the repository at this point in the history
spellcheck
  • Loading branch information
theshadowco authored Jul 26, 2021
2 parents b33422b + 20d04f0 commit b103e55
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 38 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/grammar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Grammar check

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Run yaspeller
run: |
sudo npm install yaspeller -g
yaspeller ./src/main/resources/org/sonar/l10n/core_ru.properties --ignore-latin
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ build
.classpath
.project
.gradle/
/.vscode/settings.json
*.orig
22 changes: 22 additions & 0 deletions .yaspellerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"checkYo": false,
"lang": "ru",
"format": "auto",
"dictionary": [
"токен[\\W]*",
"реквест[\\W]*",
"коммит[\\W]*",
"пулл",
"мерж",
"Вкл",
"Переактивировать",
"логировани[яеи]",
"Предпросмотр",
"Подпроект[ыу]*"
],
"ignoreText": [
"-ов",
"-ях",
"гггг-ММ-дд" // формат даты
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SilverBulleters, LLC
* mailto:[email protected]
*
* Copyright © 2020-2020
* Copyright © 2020-2021
* 1c-syntax and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Loading

0 comments on commit b103e55

Please sign in to comment.