1.3.4 • Published 5 years ago

@amaurymartiny/eslintrc v1.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

npm License code style: prettier dependencies Status Buy me a tree

@amaurymartiny/eslintrc

šŸ’Æ Mostly common-sense configuration files for eslint.

šŸš€ Get Started

Install the package

yarn add --dev @amaurymartiny/eslintrc

In your project's root folder:

echo "module.exports = require('@amaurymartiny/eslintrc');" > .eslintrc.js
echo "module.exports = require('@amaurymartiny/eslintrc/prettierrc');" > .prettierrc.js

And now you should be able to lint your project.

šŸ“– Included Rules

The set of rules I use is the following:

  • @typescript-eslint/recommended: Recommended rules by the typescript-eslint team. See all rules.
  • prettier: Opiniated code formatter. See their homepage for more info https://prettier.io/.
  • react/recommended: Recommended rules for React, harmless if you don't use React.

I believe that Prettier is not enough, because it's only a code formatter, and doesn't check for code quality rules. This is the reason I chose to add @typescript-eslint/recommended on top of Prettier.

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago