-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from 1c-syntax/l10n_8.0
spellcheck
- Loading branch information
Showing
4 changed files
with
72 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ build | |
.classpath | ||
.project | ||
.gradle/ | ||
/.vscode/settings.json | ||
*.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"checkYo": false, | ||
"lang": "ru", | ||
"format": "auto", | ||
"dictionary": [ | ||
"токен[\\W]*", | ||
"реквест[\\W]*", | ||
"коммит[\\W]*", | ||
"пулл", | ||
"Вкл", | ||
"Переактивировать", | ||
"логировани[яеи]", | ||
"Предпросмотр", | ||
"Подпроект[ыу]*" | ||
], | ||
"ignoreText": [ | ||
"-ов", | ||
"-ях", | ||
"гггг-ММ-дд" // формат даты | ||
] | ||
} |
Oops, something went wrong.