Skip to content

Commit

Permalink
chore: a little bit cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 13, 2024
1 parent 9c91f0f commit 5d0f1f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 46 deletions.
46 changes: 2 additions & 44 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,60 +2,18 @@
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"import": ["@taiga-ui/cspell-config/cspell.config.js"],
"files": ["*/*.*"],
"ignorePaths": [
".git",
"LICENSE",
"CHANGELOG.md",
".cspell.json",
".github/CODEOWNERS",
"**/*.less",
"**/dist/**",
"**/cspell/**",
"**/.vscode/**",
"**/assets/**",
"**/node_modules/**",
"*.{log,svg,snap,png,ogv,yml}",
"**/projects/i18n/languages/**",
"**/addon-commerce/enums/currency-code.ts",
"**/addon-commerce/utils/get-currency-symbol.ts",
"**/demo-playwright/stubs"
],
"ignoreWords": [
"preid",
"Quarterpounder",
"tuilabel",
"fontawesome",
"fortawesome",
"svgs",
"contentalign",
"inputpassword",
"inputcopy",
"docsearch",
"Wachovia",
"urlset"
],
"ignorePaths": ["**/projects/i18n/languages/**", "**/addon-commerce/utils/get-currency-symbol.ts"],
"ignoreWords": ["Wachovia", "urlset"],
"ignoreRegExpList": ["\\(https?://.*?\\)", "\\/{1}.+\\/{1}", "\\%2F.+", "\\%2C.+", "\\ɵ.+", "\\ыва.+"],
"overrides": [
{
"filename": ["**/components/loader/index.html"],
"ignoreWords": ["protestin", "spittin", "callin", "yellin"]
},
{
"filename": ["**/i18n/README.md"],
"ignoreWords": ["odzumiraj", "zumiraj", "rotiraj"]
},
{
"filename": ["**/example.md"],
"ignoreWords": ["xxxHTMLyyy"]
},
{
"filename": ["**/highlight/test/highlight.directive.spec.ts"],
"ignoreWords": ["aaabbb"]
},
{
"filename": ["**/tests/kit/input-tag/input-tag.cy.ts"],
"ignoreWords": ["looooooooooooooooooooooooong"]
},
{
"filename": ["**/tests/schematic-replace-consts.spec.ts", "**/constants/constants.ts"],
"ignoreWords": ["Comands"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run typecheck
- run: npm run cspell -- --no-progress
- run: npm run cspell
- run: |
if [[ "${{ env.SUPPORT_AUTO_PUSH }}" == "true" ]]; then
npm run stylelint -- --fix
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"*** Workflow ***": "",
"stylelint": "stylelint '**/*.{less,css}' --config package.json",
"lint": "eslint .",
"cspell": "cspell --relative --dot --gitignore .",
"cspell": "cspell --no-progress --relative --dot --gitignore .",
"prettier": "prettier !package-lock.json . --ignore-path .gitignore",
"typecheck": "tsc --noEmit --strict --incremental false --tsBuildInfoFile null --project tsconfig.spec.json",
"*** Build **": "",
Expand Down

0 comments on commit 5d0f1f4

Please sign in to comment.