@shakuroinc/eslint-config-react

6.4.3 • Public • Published

@shakuroinc/eslint-config-react

Shakuro eslint (with React and tailwindcss support) and prettier extensible basic config.

Usage

Install package:

yarn add -D @shakuroinc/eslint-config-react

Install package dependencies:

npx install-peerdeps @shakuroinc/eslint-config-react -d -Y

if you using yarn workspaces npx install-peerdeps @shakuroinc/eslint-config-react -d -Y --extra-args "--ignore-workspace-root-check"

Configure eslint:

// .eslintrc.js
module.exports = {
  extends: ['@shakuroinc/eslint-config-react'],
  // extend config if needed
};

Configure prettier:

// .prettierrc.js
module.exports = { ...require('@shakuroinc/eslint-config-react/prettier.config') };

Readme

Keywords

none

Package Sidebar

Install

npm i @shakuroinc/eslint-config-react

Weekly Downloads

100

Version

6.4.3

License

MIT

Unpacked Size

10.4 kB

Total Files

5

Last publish

Collaborators

  • shakuro
  • abazhanov