Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run spell-checker over JavaScript files for each PR (#327)
* Add eslint spell-checker plugin and npm command to run it * Fix typo in chart id: "donunt" -> "donut"
- Loading branch information
1 parent
3839714
commit e06b521
Showing
5 changed files
with
38 additions
and
5 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 |
---|---|---|
@@ -1,7 +1,36 @@ | ||
{ | ||
"plugins": ["@theforeman/foreman"], | ||
"plugins": [ | ||
"@theforeman/foreman", | ||
"spellcheck" | ||
], | ||
"extends": [ | ||
"plugin:@theforeman/foreman/core", | ||
"plugin:@theforeman/foreman/plugins" | ||
] | ||
], | ||
"rules": { | ||
"spellcheck/spell-checker": [ | ||
"error", | ||
{ | ||
"identifiers": false, | ||
"ignoreRequire": true, | ||
"skipWords": [ | ||
"ansible", | ||
"donut", | ||
"jed", | ||
"katello", | ||
"knowledgebase", | ||
"noopener", | ||
"noreferrer", | ||
"nowrap", | ||
"pid", | ||
"redhat", | ||
"repo", | ||
"theforeman", | ||
"tooltip", | ||
"unmount" | ||
], | ||
"minLength": 3 | ||
} | ||
] | ||
} | ||
} |
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