Commit Graph

3 Commits

Author SHA1 Message Date
Álvaro Mondéjar
45583efadd
Add lint to check JSON data file prettification (#4320)
* Add test for check JSON data file prettification

* Move prettification test to out linting script

* Add other newline in error message to improve readability

* Invert the diff to show the solution to the user

* Add 'jest-diff' as direct dependency

* Remove annotations and colors

* Replace CRLF newlines with LFs in JSON prettification lint

* Restore colors in JSON prettification lint
2020-12-13 21:17:41 +01:00
Eric Cornelissen
0a0586a04e
Lint SVG files for final newlines (#1367)
* Update editorconfig-checker dependency

At least v2.0.7 [1] is required to check that a file does not contain a 
final newline.

--
1. 
https://github.com/editorconfig-checker/editorconfig-checker.javascript/releases/tag/2.0.7

* Add *.svg to editorconfig and enable checking in editorconfig-checker

* Remove final newline from existing SVG files

... to fix the `$ npm run wslint` command
2019-04-23 01:41:13 +03:00
Eric Cornelissen
579d439e60
Lint file formatting (primarily whitespace) (#1349)
* Add editorconfig-checker and .editorconfig

* Fix wslint errors
2019-04-17 12:59:44 +03:00