1. prettier-eslint-check
Check that all files match prettier-eslint code style.
prettier-eslint-check
Package: prettier-eslint-check
Created by: u3u
Last modified: Fri, 24 Jun 2022 14:45:29 GMT
Version: 1.0.3
License: MIT
Downloads: 129
Repository: https://github.com/u3u/prettier-eslint-check

Install

npm install prettier-eslint-check
yarn add prettier-eslint-check

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

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code