-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve cspell configuration (#1626)
* Improve cspell configuration * Improve eslintrc for products-feed
- Loading branch information
1 parent
790ec96
commit ada478b
Showing
19 changed files
with
587 additions
and
2,190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"patterns": [ | ||
{ | ||
"name": "comment-single-line", | ||
"pattern": "/#.*/g" | ||
}, | ||
{ | ||
"name": "comment-multi-line", | ||
"pattern": "/(?:\\/\\*[\\s\\S]*?\\*\\/)/g" | ||
}, | ||
{ | ||
"name": "comments", | ||
"pattern": ["comment-single-line", "comment-multi-line"] | ||
} | ||
], | ||
"languageSettings": [ | ||
{ | ||
"languageId": "markdown", | ||
"caseSensitive": true | ||
}, | ||
{ | ||
"languageId": ["javascriptreact", "typescriptreact", "typescript", "javascript"], | ||
"includeRegExpList": ["comments"] | ||
} | ||
], | ||
"words": [ | ||
"avatax", | ||
"bruno", | ||
"codegen", | ||
"contentful", | ||
"datocms", | ||
"klaviyo", | ||
"mailhog", | ||
"mjml", | ||
"neverthrow", | ||
"pactum", | ||
"saleor", | ||
"sendgrid", | ||
"shopx", | ||
"strapi", | ||
"taxjar", | ||
"unobfuscated", | ||
"upstash", | ||
"urql" | ||
], | ||
"language": "en-US", | ||
"useGitignore": true, | ||
"ignorePaths": ["**/graphql.ts", "**/CHANGELOG.md", "**/schema.graphql"] | ||
} |
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,10 +1,14 @@ | ||
name: "Check spelling" | ||
on: # rebuild any PRs and main branch changes | ||
on: | ||
pull_request: | ||
types: [synchronize, opened] | ||
|
||
jobs: | ||
spellcheck: # run the action | ||
runs-on: ubuntu-latest | ||
spellcheck: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: streetsidesoftware/cspell-action@22e32eb3d70acf30e3fc09bd46edc1d30fb2d6db | ||
- uses: actions/checkout@v4 | ||
- uses: streetsidesoftware/cspell-action@934c74da3775ac844ec89503f666f67efb427fed # v6.8.1 | ||
with: | ||
config: .cspell.json | ||
files: "**/*.{jsx,tsx,js,ts,md,mdx}" |
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
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
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
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 was deleted.
Oops, something went wrong.
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,11 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ["saleor"], | ||
rules: { | ||
"@saleor/saleor-app/logger-leak": "warn", | ||
}, | ||
parserOptions: { | ||
project: "tsconfig.json", | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}; |
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
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
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.