Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add cSpell to check spelling issues #1482

Merged
merged 2 commits into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"version": "0.2",
"language": "en,en-gb",
"words": [
"pures",
"icss",
"styl",
"nosources",
"unknwon",
"mycss",
"memfs",
"Koppers",
"sokra",
"plusplus",
"localident",
"fullhash",
"requestify",
"XSSI",
"Requestable",
"requestable",
"requestify",
"nourl",
"stylesheet",
"classname",
"EACE",
"UAAU",
"AACZ",
"MCEP",
"stringifier",
"Zvby",
"uncnoun",
"bazzy",
"svars",
"concat",
"camelcase",
"Brotli",
"Contex",
"vspace",
"commitlint"
],

"ignorePaths": [
"CHANGELOG.md",
"package.json",
"dist/**",
"**/__snapshots__/**",
"package-lock.json",
"**/*.css",
"**/fonts/**"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module.exports = {
return false;
}

// Don't handle images under root-relatve /external_images/
// Don't handle images under root-relative /external_images/
if (/^\/external_images\//.test(path)) {
return false;
}
Expand Down Expand Up @@ -481,7 +481,7 @@ To import from multiple modules use multiple `composes:` rules.

```css
:local(.className) {
composes: edit hightlight from "./edit.css";
composes: edit highlight from "./edit.css";
composes: button from "module/button.css";
composes: classFromThisModule;
background: red;
Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
"*": ["prettier --write --ignore-unknown"],
"*": ["prettier --write --ignore-unknown", "cspell"],
"*.js": ["eslint --cache --fix"],
};
Loading