eslint-config-bondarenko-style
v1.1.2
Published
Shareable ESLint config.
Downloads
10
Maintainers
Readme
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
Configs
Available configs:
- recommended (default)
- typescript
Use the recommended config with other configs.
Usage
default
Add to your ESLint config:
{ "extends": [ "eslint-config-bondarenko-style" ] }
recommended
Add to your ESLint config:
{ "extends": [ "eslint-config-bondarenko-style/recommended" ] }
typescript
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
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" ] }