Skip to content

Commit

Permalink
ci: add cspell (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 11, 2024
1 parent 34f3458 commit eb40cf9
Show file tree
Hide file tree
Showing 8 changed files with 1,325 additions and 197 deletions.
47 changes: 47 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"import": ["@taiga-ui/cspell-config/cspell.config.js"],
"files": ["*/*.*"],
"ignoreWords": [
"mapnik",
"bbox",
"freepik",
"flaticon",
"webmidi",
"pexels",
"waoutput",
"frequence",
"midimessage",
"aftertouch",
"worklet",
"autoplay",
"worklets",
"desynchronized",
"automations",
"bezier",
"webgl",
"biquad",
"jasminewd",
"sharereplay",
"bazel",
"libpeerconnection",
"sysex",
"adsr",
"webp",
"ngsw",
"speechrecognition",
"sessionstorage",
"matreshka",
"matryoshka",
"kokoshnik",
"ushanka",
"Khirnyi",
"Grekov",
"Debmallya",
"Bhattacharya",
"Dmitry",
"Efimenko",
"Vsevolod",
"Arutiunov"
]
}
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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
- run: npx nx run-many -t build --exclude demo
- run: npx nx run-many -t test
- run: npx nx build-gh-pages demo
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ speed-measure-plugin.json
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const PHOTOS: readonly Photo[] = [
];

const USAGE_SAMPLE = `
// 1) Import service throught DI
// 1) Import service through DI
// In Constructor
constructor(private viewTransitionService: ViewTransitionService) {}
// or with inject (Angular 14+)
Expand Down
2 changes: 1 addition & 1 deletion libs/geolocation/tests/geolocation.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('GeolocationService', () => {
});

describe('Geolocation Service if unsupported', () => {
it('cannot recieve and throws an error if Geolocation is not supported', (done) => {
it('cannot receive and throws an error if Geolocation is not supported', (done) => {
TestBed.configureTestingModule({
providers: [
{provide: GEOLOCATION_SUPPORT, useValue: false},
Expand Down
2 changes: 1 addition & 1 deletion libs/universal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add constants imported from this package to providers of your `ServerAppModule`.
for tests. Idea of this package is — you shouldn't have to mock DOM on the server side or test `isPlatformBrowser` all
the time. Instead, you leverage Angular DI system to abstract from implementation. When possible, this package will
provide the same functionality on the server side as you have in browser. In other cases you will get type-safe mocks
and you can at least be sure you will not have `cannot read propery of null` or `undefined is not a function` errors in
and you can at least be sure you will not have `cannot read property of null` or `undefined is not a function` errors in
SSR.

## Tokens
Expand Down
Loading

0 comments on commit eb40cf9

Please sign in to comment.