Skip to content

Commit f7263e2

Browse files
committed
Grammar
1 parent 5d71f7b commit f7263e2

File tree

4 files changed

+31
-14
lines changed

4 files changed

+31
-14
lines changed

.cspell.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// cSpell Settings
2+
{
3+
// Version of the setting file. Always 0.2
4+
"version": "0.2",
5+
// Current active spelling language.
6+
"language": "en",
7+
// List of words to be always considered correct.
8+
"words": [
9+
"autobuild",
10+
"CODELYZER",
11+
"codeql",
12+
"Dsonar",
13+
"eslintplugin",
14+
"eslintrule",
15+
"Jeroen",
16+
"jerone",
17+
"lcov",
18+
"SARIF",
19+
"sonarcloud",
20+
"Tmpl",
21+
"TSES",
22+
"typecheck",
23+
"Warmerdam",
24+
"whitespaces"
25+
]
26+
}

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
uses: github/codeql-action/init@v2
4545
with:
4646
languages: typescript
47-
- name: Autobuild
47+
- name: Auto-build by CodeQL
4848
uses: github/codeql-action/autobuild@v2
4949
- name: Perform CodeQL Analysis
5050
uses: github/codeql-action/analyze@v2

cspell.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

tests/rules/eslint-plugin-angular-template-consistent-this.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -469,19 +469,19 @@ ruleTester.run(RULE_NAME, rule, {
469469
/* See https://angular.io/api/common/NgTemplateOutlet#example
470470
```
471471
export class NgTemplateOutletExample {
472-
public myContext = { $implicit: 'contactpersoon', firstName: 'Jeroen' };
472+
public myContext = { $implicit: 'customer', firstName: 'Jeroen' };
473473
}
474474
```
475475
*/
476476
code: `
477477
<ng-container *ngTemplateOutlet="greetings; context: this.myContext"></ng-container>
478-
<ng-template #greetings let-person="firstName"><span>Beste {{person}}</span></ng-template>`,
478+
<ng-template #greetings let-person="firstName"><span>Dear {{person}}</span></ng-template>`,
479479
},
480480
{
481481
// Explicit.
482482
code: `
483483
<ng-container *ngTemplateOutlet="this.greetings; context: this.myContext"></ng-container>
484-
<ng-template #greetings let-person="firstName"><span>Beste {{this.person}}</span></ng-template>`,
484+
<ng-template #greetings let-person="firstName"><span>Dear {{this.person}}</span></ng-template>`,
485485
options: [
486486
{
487487
properties: "explicit",
@@ -494,7 +494,7 @@ ruleTester.run(RULE_NAME, rule, {
494494
// Implicit.
495495
code: `
496496
<ng-container *ngTemplateOutlet="greetings; context: myContext"></ng-container>
497-
<ng-template #greetings let-person="firstName"><span>Beste {{person}}</span></ng-template>`,
497+
<ng-template #greetings let-person="firstName"><span>Dear {{person}}</span></ng-template>`,
498498
options: [
499499
{
500500
properties: "implicit",

0 commit comments

Comments
 (0)