2.0.2 • Published 10 months ago

@aliexme/eslint-config v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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",
  ],
}
2.0.2

10 months ago

2.0.1

10 months ago

1.2.7

10 months ago

1.2.6

11 months ago

2.0.0

10 months ago

1.2.5

11 months ago

1.2.4

11 months ago

1.2.3

11 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago