1.1.2 • Published 1 month ago

eslint-config-bondarenko-style v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

eslint-config-bondarenko-style

Shareable ESLint config.

Installation

# Using npm
npm install --save-dev eslint-config-bondarenko-style

# Using yarn
yarn add --dev eslint-config-bondarenko-style

Required ESLint version >= 8

ESLint documentation

Configs

Available configs:

Use the recommended config with other configs.

Usage

default

1) Add to your ESLint config:

{
  "extends": [
    "eslint-config-bondarenko-style"
  ]
}

recommended

1) Add to your ESLint config:

{
  "extends": [
    "eslint-config-bondarenko-style/recommended"
  ]
}

typescript

1) Install required dependencies:

#Using npm
npm install --save-dev typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser

# Using yarn
yarn add --dev typescript @typescript-eslint/eslint-plugin @typescript-eslint/parser

Required versions: typescript >= 4 @typescript-eslint/eslint-plugin >= 5 @typescript-eslint/parser >= 5

2) Add to your ESLint config:

{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module",
    "project": "./tsconfig.json"
  },
  "extends": [
    "eslint-config-bondarenko-style/recommended",
    "eslint-config-bondarenko-style/typescript"
  ]
}

License

MIT

1.1.2

1 month ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

11 months ago