@inputstudio/eslint-prettier
is a package to lint and prettify our source code at Input Studio.
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
- 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"
}
This project is licensed under the MIT License.