eslint-plugin-spellcheck
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "eslint-plugin-spellcheck", | ||
"version": "0.0.2", | ||
"description": "ESLint rules for to spell check js files", | ||
"version": "0.0.3", | ||
"description": "ESLint rules to spell check js files", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
# eslint-plugin-spellcheck | ||
[eslint](http://eslint.org) plugin to spell check words on identifiers, Strings and comments of javascript files. | ||
## Configuration | ||
"comments": <<Boolean>> default: true | ||
Check Spelling inside comments | ||
"strings": <<Boolean>>, defualut: true | ||
Check Spelling inside comments | ||
"identifiers": <<Boolean>>, default: true | ||
Check Spelling inside identifiers | ||
"skipWords": <<Array Of Strings>> default: [] | ||
Array of words that will not be checked. | ||
Check example below | ||
## Usage in a project | ||
@@ -20,7 +36,22 @@ | ||
```yaml | ||
plugins: | ||
- spellcheck | ||
rules: | ||
- spellcheck/spell-strings: 0 | ||
```json | ||
"plugins": [ | ||
"spellcheck" | ||
], | ||
"rules": { | ||
"spell-checker": [1, | ||
{ | ||
"comments": "true", | ||
"strings": "true", | ||
"identifiers": "true", | ||
"skipWords": [ | ||
"dict", | ||
"aff", | ||
"hunspellchecker", | ||
"hunspell", | ||
"utils" | ||
] | ||
} | ||
] | ||
} | ||
``` | ||
@@ -43,3 +74,16 @@ | ||
"rules": { | ||
"spellcheck/spell-strings": 1 | ||
"spell-checker": [1, | ||
{ | ||
"comments": "true", | ||
"strings": "true", | ||
"identifiers": "true", | ||
"skipWords": [ | ||
"dict", | ||
"aff", | ||
"hunspellchecker", | ||
"hunspell", | ||
"utils" | ||
] | ||
} | ||
] | ||
} | ||
@@ -46,0 +90,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
556588
97