pento / testpress

Tool for helping you get a WordPress Core test environment up and running.
GNU General Public License v2.0
68 stars 2 forks source link

Add lint-js:fix and lint-css:fix and tidy up linting command names #100

Closed talldan closed 5 years ago

talldan commented 5 years ago

Added fix commands to npm scripts, and made the names of the lint commands match Gutenberg.

ntwb commented 5 years ago

@talldan @draganescu This shouldn’t be using that browerslist config, it should use that from https://github.com/WordPress/gutenberg/tree/master/packages/browserslist-config

Specifically https://github.com/WordPress/gutenberg/blob/master/packages/browserslist-config/README.md#usage

talldan commented 5 years ago

Thanks @ntwb - we were experiencing a strange issue where the browserlist config was automatically being added to the package.json. Will have a go at using the one from gutenberg, hopefully it'll resolve the issue.

talldan commented 5 years ago

Although, having said that, as this is an electron app, I'm thinking the browserlist config should just be "electron > 4.0".