@inputstudio/eslint-prettier
v1.0.1
Published
EsLint and Prettier default configuration used at Input Studio
Downloads
3
Readme
prettier
@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
- Create an
.eslintrc
file in your project root and add:
{
"extends": ["@inputstudio/eslint-prettier"]
}
- Add a new property to your package.json file:
{
"prettier": "@inputstudio/eslint-prettier/prettier"
}
License
This project is licensed under the MIT License.