internetarchive / wayback-machine-webextension

A web browser extension for Chrome, Firefox, Edge, and Safari 14.
GNU Affero General Public License v3.0
668 stars 207 forks source link

Automate JS lint and add CSS lint #980

Closed vbanos closed 1 year ago

vbanos commented 1 year ago

Add scripts to package.json to be able to run npm run lint:js to check ALL JS with a single cmd. Until now, you had to run eslint for individual files.

Check not only extension JS code but also unit test JS code.

Add stylelint and standard configuration.

Add npm run lint:css and npm run lint to check all JS / CSS in an easy way.