@wildpastry/eslint-config 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,21 +2,18 @@
2
2
  Shareable ESLint configuration settings. No errors, only warnings.
3
3
 
4
4
  ## Prerequisites
5
- - Install the official ESLint extension in your IDE
6
5
  - Navigate to the root directory of your project
7
6
 
8
7
  ## Installation and usage
9
8
 
10
9
  ### Install eslint and plugins
11
10
  ```
12
- npm(or yarn) i eslint@latest
13
- npm(or yarn) i @typescript-eslint/eslint-plugin
14
- npm(or yarn) i eslint-plugin-react
11
+ npm i eslint@latest @typescript-eslint/eslint-plugin@latest eslint-plugin-react@latest
15
12
  ```
16
13
 
17
14
  ### Install eslint config
18
15
  ```
19
- npm(or yarn) i @wildpastry/eslint-config@latest
16
+ npm i @wildpastry/eslint-config@latest
20
17
  ```
21
18
 
22
19
  ### Create .eslintrc
@@ -26,7 +23,7 @@ create new .eslintrc file
26
23
 
27
24
  ### Add config to .eslintrc
28
25
  ```
29
- add { "extends": "@wildpastry/eslint-config" }
26
+ add { "extends": "@wildpastry/eslint-config" } into .eslintrc and save
30
27
  ```
31
28
 
32
29
  ### Add scripts to package.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildpastry/eslint-config",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "ESLint configuration file",
5
5
  "main": "index.js",
6
6
  "scripts": {