Skip to content

Commit

Permalink
Update svglint ignore list, add ignore updater
Browse files Browse the repository at this point in the history
This updates the ignore list as per simple-icons#3250 and embeds code for updating
the ignore file when the environment variable `SI_UPDATE_IGNORE=true`
is set and the linter is run like so `SI_UPDATE_IGNORE=true npm run svglint`
-- running this command will display all remaining linting failures and
use these to update the ignore file.

This also:

* Normalises the top-level object key in the ignore file to match each
  linter name
* Sorts the ignore output on top-level key and icon name value to
  make output consistent
* Speeds up icon center checking if ignored
* Ignores icons in size linter if icon is otherwise ignored
  • Loading branch information
davidjb committed Oct 16, 2020
1 parent 79a5a08 commit c7923a9
Show file tree
Hide file tree
Showing 2 changed files with 339 additions and 145 deletions.

0 comments on commit c7923a9

Please sign in to comment.