@shvmerc/eslint-config
v0.2.1-alpha
Published
This package provides custom `eslint` configurations for javascript and typescript.
Downloads
4
Maintainers
Readme
ESLint Configurations
This package provides custom eslint
configurations for your javascript and typescript projects.
Usage
Install this package.
$ npm install --save-dev @shvmerc/eslint-config
Install the configuration dependencies.
@shvmerc/eslint-config/standard
$ npm install --save-dev [email protected] [email protected] [email protected] [email protected] @stylistic/[email protected]
@shvmerc/eslint-config/standard-ts
$ npm install --save-dev [email protected] [email protected] [email protected] [email protected] @stylistic/[email protected] @typescript-eslint/[email protected]
@shvmerc/eslint-config/standard-jsx
$ npm install --save-dev [email protected] [email protected] [email protected] [email protected] @stylistic/[email protected] [email protected]
@shvmerc/eslint-config/standard-tsx
$ npm install --save-dev [email protected] [email protected] [email protected] [email protected] @stylistic/[email protected] [email protected] @typescript-eslint/[email protected]
Extend your local configuration.
Example:
.eslintrc.json
{ "extends": "@shvmerc/eslint-config/standard-jsx" }
You can modify the configuration and rules according to your own preferences, for mor information check the official documentation:
- Eslint: https://eslint.org/docs/latest/rules/
- Typescript Eslint: https://typescript-eslint.io/rules/
- Stylistic: https://eslint.style/packages/default
- React: https://github.com/jsx-eslint/eslint-plugin-react