@shakuroinc/eslint-config-base
v1.4.0
Published
[Shakuro](https://shakuro.com/) eslint and prettier extensible basic config.
Downloads
175
Readme
@shakuroinc/eslint-config-base
Shakuro eslint and prettier extensible basic config.
if you need react support use: @shakuroinc/eslint-config-react
Usage
Install package:
yarn add -D @shakuroinc/eslint-config-base
Install package dependencies:
npx install-peerdeps @shakuroinc/eslint-config-base -d -Y
if you using yarn workspaces
npx install-peerdeps @shakuroinc/eslint-config-base -d -Y --extra-args "--ignore-workspace-root-check"
Configure eslint
:
// .eslintrc.js
module.exports = {
extends: ['@shakuroinc/eslint-config-base'],
// extend config if needed
};
Configure prettier:
// .prettierrc.js
module.exports = { ...require('@shakuroinc/eslint-config-base/prettier.config') };