0.4.3 • Published 7 months ago

@aliexme/eslint-config v0.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@aliexme/eslint-config

Rule set for ESLint

Installation

npm i --save-dev eslint @aliexme/eslint-config eslint-plugin-import

Usage

Extend your ESLint config file:

{
  "extends": [
    "@aliexme/eslint-config",
  ],
}

Typescript

To check ts-files, install additional packages:

npm i --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin

And add the following lines to your ESLint config file:

{
  "extends": [
    "@aliexme/eslint-config",
    "@aliexme/eslint-config/typescript",
  ],
}

React

Install additional packages:

npm i --save-dev eslint-plugin-react eslint-plugin-react-hooks

And add the following lines to your ESLint config file:

{
  "extends": [
    "@aliexme/eslint-config",
    "@aliexme/eslint-config/react",
    "plugin:react-hooks/recommended",
  ],
}

React Native

Install additional packages:

npm i --save-dev eslint-plugin-react-native

And add the following lines to your ESLint config file:

{
  "extends": [
    "@aliexme/eslint-config",
    "@aliexme/eslint-config/react-native",
  ],
}

Prettier

Install additional packages:

npm i --save-dev prettier eslint-plugin-prettier eslint-config-prettier

And add the following lines to your ESLint config file:

{
  "extends": [
    "@aliexme/eslint-config",
    "@aliexme/eslint-config/prettier",
  ],
}
0.4.1

8 months ago

0.4.0

8 months ago

0.4.3

7 months ago

0.4.2

7 months ago

0.3.1

12 months ago

0.3.0

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.1

1 year ago