-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: Prepare for alpha release of ESLint Plugin. (#2560)
* dev: eslint-plugin - a bit of clean up and more testing * dev: Prepare to publish the eslint plugin.
- Loading branch information
Showing
5 changed files
with
58 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/cspell-eslint-plugin/fixtures/with-errors/sampleTemplateString.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* This is a sample with spelling errors in template strings. | ||
*/ | ||
|
||
const now = new Date(); | ||
|
||
export const messageToday = ` | ||
Todayy is ${now.toLocaleDateString(undefined, { weekday: 'long' })}. | ||
Day ${now.toLocaleDateString(undefined, { day: 'numeric' })} of the Montj of ${now.toLocaleDateString(undefined, { month: 'long' })} | ||
in the Yaar ${now.toLocaleDateString(undefined, { year: 'numeric' })}. | ||
` | ||
|
||
export const months = 'January\u00eb, Februarry, March, Aprill, May, June'; | ||
|
||
export const templateWithUnicodeEscapeSequences = ` | ||
Lets gooo to a caf\u00e9 or a cafe\u0301? ${now.getDay() === 0 ? 'Yes' : 'No'} | ||
Only if Today is ${now.toLocaleDateString(undefined, { weekday: 'long' })} it is the start of the weeek. | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"name": "@cspell/eslint-plugin-cspell", | ||
"private": true, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters