@lucasadrianof/eslint-config-lucas-react-ts

0.1.0 • Public • Published

Lucas' Eslint and Prettier personal setup

ESLint and Prettier configurations used by me in personal projects. It has a series of opinionated rules on code styling and best practices I like to use when coding.

What it does

This setup lints your TypeScript code based on best practices. Check the .eslintrc.json file to see what is included. Feel free to override the rules that don't work you.

Installing

  1. In your project folder, run:
npm install --save-dev @lucas.adriano/eslint-config-lucas-react-ts
npx install-peerdeps --dev @lucas.adriano/eslint-config-lucas-react-ts
  1. You will see that all the peer dependencies were installed automatically. Now, create (or update) a .eslintrc.json file with the following content:
{
  "extends": ["@lucasadrianof/eslint-config-lucas-react-ts"]
}
  1. Create a .prettierrc.json file with the following content:
"@lucasadrianof/eslint-config-lucas-react-ts"

Inspirations 💡

Package Sidebar

Install

npm i @lucasadrianof/eslint-config-lucas-react-ts

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

5.73 kB

Total Files

6

Last publish

Collaborators

  • lucas.adriano