Skip to content

Commit

Permalink
chore: add cSpell to check spelling issues (#1482)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 authored Nov 20, 2022
1 parent 239b9ac commit 6c67af8
Show file tree
Hide file tree
Showing 7 changed files with 1,718 additions and 79 deletions.
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

0 comments on commit 6c67af8

Please sign in to comment.