Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 857 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 857 Bytes

prettier

GitHub

@inputstudio/eslint-prettier is a package to lint and prettify our source code at Input Studio.

Installation

Install the package with your favorite package manager:

# npm
npm install @inputstudio/eslint-prettier
# yarn
yarn add @inputstudio/eslint-prettier
# pnpm
pnpm add @inputstudio/eslint-prettier

Install the dependencies used by the package:

npx install-peerdeps --dev @inputstudio/eslint-prettier

Usage

  1. Create an .eslintrc file in your project root and add:
{
  "extends": ["@inputstudio/eslint-prettier"]
}
  1. Add a new property to your package.json file:
{
  "prettier": "@inputstudio/eslint-prettier/prettier"
}

License

This project is licensed under the MIT License.