diff --git a/NEWS.md b/NEWS.md index dd4059795..8b6e7bda6 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ Unreleased * Introduce `suspenders:advisories` generator * Introduce `suspenders:styles` generator * Introduce `suspenders:jobs` generator +* Introduce `suspenders:lint` generator 20230113.0 (January, 13, 2023) diff --git a/README.md b/README.md index 40766dbeb..da472fde3 100644 --- a/README.md +++ b/README.md @@ -76,13 +76,8 @@ improvement for the viewer. Creates a holistic linting solution that covers JavaScript, CSS, Ruby and ERB. -Introduces `eslint` and `stylelint` NPM commands that leverage -[@thoughtbot/eslint-config][] and [@thoughtbot/stylelint-config][]. - -``` -yarn run eslint -yarn run stylelint -``` +Introduces NPM commands that leverage [@thoughtbot/eslint-config][], +[@thoughtbot/stylelint-config][] and [prettier][]. Also introduces `.prettierrc` based off of our [Guides][]. @@ -91,6 +86,7 @@ via [better_html][], [erb_lint][] and [erblint-github][]. [@thoughtbot/eslint-config]: https://github.com/thoughtbot/eslint-config [@thoughtbot/stylelint-config]: https://github.com/thoughtbot/stylelint-config +[prettier]: https://prettier.io [Guides]: https://github.com/thoughtbot/guides/blob/main/javascript/README.md#formatting [better_html]: https://github.com/Shopify/better-html [erb_lint]: https://github.com/Shopify/erb-lint