prettier-eslint-check

Check that all files match prettier-eslint code style.

Usage no npm install needed!

<script type="module">
  import prettierEslintCheck from 'https://cdn.skypack.dev/prettier-eslint-check';
</script>

README

prettier-eslint-check

โœจ Check that all files match prettier-eslint code style.

npm version NPM downloads Build Status code style: prettier All Contributors

Install

$ yarn add prettier prettier-eslint-cli prettier-eslint-check --dev

Make sure you have prettier and prettier-eslint-cli as a dependency (or globally).

Usage

Use it in the test script in your package.json:

  "scripts": {
    "test": "prettier-eslint-check src/**/*.js"
  },

All args are forwarded to prettier:

  "scripts": {
    "test": "prettier-eslint-check --single-quote --trailing-comma es5 src/**/*.js"
  },

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Contributors

Thanks goes to these wonderful people (emoji key):


ใ•ใใ‚‰

๐Ÿ’ป ๐Ÿ“– โš ๏ธ

Hexacta

๐Ÿ’ป ๐Ÿ“– โš ๏ธ ๐Ÿค”

This project follows the all-contributors specification. Contributions of any kind are welcome!

Author

prettier-eslint-check ยฉ u3u, Released under the MIT License.
Authored and maintained by u3u with help from contributors (list).

qwq.cat ยท GitHub @u3u