@shvmerc/eslint-config

0.2.1-alpha • Public • Published

ESLint Configurations

This package provides custom eslint configurations for your javascript and typescript projects.

Usage

  1. Install this package.

    $ npm install --save-dev @shvmerc/eslint-config
  2. Install 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.0
  3. 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:

Package Sidebar

Install

npm i @shvmerc/eslint-config

Weekly Downloads

0

Version

0.2.1-alpha

License

MIT

Unpacked Size

83.3 kB

Total Files

11

Last publish

Collaborators

  • shvmerc