@jeroenpol/eslint-config 1.0.7 → 1.0.8

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 +23 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,12 +6,33 @@ Use this esLint config as a basis for you Angular projects.
6
6
 
7
7
  ### Installation
8
8
 
9
+ 1. Install the npm package
10
+
9
11
  ```sh
10
12
  npm i --save-dev @jeroenpol/eslint-config
11
- ```
13
+ ```
12
14
 
13
- 1. Install peer dependencies using NPM 5+ and this command:
15
+ 2. Install peer dependencies using NPM 5+ and this command:
14
16
 
15
17
  ```sh
16
18
  npx install-peerdeps --dev @jeroenpol/eslint-config
17
19
  ```
20
+
21
+ 3. Update your `.eslintrc` file to:
22
+
23
+ ```json
24
+ {
25
+ "root": true,
26
+ "parser": "@typescript-eslint/parser",
27
+ "parserOptions": {
28
+ "ecmaVersion": 2020,
29
+ "sourceType": "module"
30
+ },
31
+ "overrides": [
32
+ {
33
+ "files": ["*.ts", "*.tsx"],
34
+ "extends": ["@jeroenpol/eslint-config"]
35
+ }
36
+ ]
37
+ }
38
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jeroenpol/eslint-config",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "ES Lint config made for Angular, configured by Polware",
5
5
  "main": "index.js",
6
6
  "exports": {