Skip to content

Commit cf8433d

Browse files
committed
Revert "ecmascript spelling (#407)"
This reverts commit 8e577d8.
1 parent 016c0bb commit cf8433d

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

src/lint/collect-spelling-diagnostics.ts

-4
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,6 @@ const matchers = [
135135
pattern: /(÷|÷)/gu,
136136
message: 'division should be written as "/", not "÷", per ISO 80000-2',
137137
},
138-
{
139-
pattern: /[Ee]cma[Ss]cript/gu,
140-
message: "it's spelled ECMAScript",
141-
},
142138
];
143139

144140
export function collectSpellingDiagnostics(

test/lint-spelling.js

-24
Original file line numberDiff line numberDiff line change
@@ -535,30 +535,6 @@ windows:${M}\r
535535
);
536536
});
537537

538-
it('ECMAScript', async () => {
539-
await assertLint(
540-
positioned`
541-
<p>${M}ecmascript</p>
542-
`,
543-
{
544-
ruleId: 'spelling',
545-
nodeType: 'html',
546-
message: "it's spelled ECMAScript",
547-
}
548-
);
549-
550-
await assertLint(
551-
positioned`
552-
<p>${M}EcmaScript</p>
553-
`,
554-
{
555-
ruleId: 'spelling',
556-
nodeType: 'html',
557-
message: "it's spelled ECMAScript",
558-
}
559-
);
560-
});
561-
562538
it('negative', async () => {
563539
await assertLintFree(`
564540
<p>

0 commit comments

Comments
 (0)