0.2.1-alpha • Published 2 years ago
@shvmerc/eslint-config v0.2.1-alpha
ESLint Configurations
This package provides custom eslint configurations for your javascript and typescript projects.
Usage
Install this package.
$ npm install --save-dev @shvmerc/eslint-configInstall the configuration dependencies.
@shvmerc/eslint-config/standard$ npm install --save-dev eslint@8.57.0 eslint-plugin-import@2.29.1 eslint-plugin-n@16.6.2 eslint-plugin-promise@6.1.1 @stylistic/eslint-plugin@1.7.0@shvmerc/eslint-config/standard-ts$ npm install --save-dev eslint@8.57.0 eslint-plugin-import@2.29.1 eslint-plugin-n@16.6.2 eslint-plugin-promise@6.1.1 @stylistic/eslint-plugin@1.7.0 @typescript-eslint/eslint-plugin@7.2.0@shvmerc/eslint-config/standard-jsx$ npm install --save-dev eslint@8.57.0 eslint-plugin-import@2.29.1 eslint-plugin-n@16.6.2 eslint-plugin-promise@6.1.1 @stylistic/eslint-plugin@1.7.0 eslint-plugin-react@7.34.1@shvmerc/eslint-config/standard-tsx$ npm install --save-dev eslint@8.57.0 eslint-plugin-import@2.29.1 eslint-plugin-n@16.6.2 eslint-plugin-promise@6.1.1 @stylistic/eslint-plugin@1.7.0 eslint-plugin-react@7.34.1 @typescript-eslint/eslint-plugin@7.2.0Extend 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