Skip to content

Commit

Permalink
Merge pull request #53 from 1c-syntax/l10n_8.0
Browse files Browse the repository at this point in the history
spellcheck
  • Loading branch information
theshadowco authored Jul 26, 2021
2 parents 8e4e8c4 + b5f0bce commit 9d44fbe
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 33 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
21 changes: 21 additions & 0 deletions .yaspellerrc
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": [
"-ов",
"-ях",
"гггг-ММ-дд" // формат даты
]
}
Loading

0 comments on commit 9d44fbe

Please sign in to comment.