@commission-on-post/eslint-config-recommended 0.4.3 → 0.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.
- package/README.md +4 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,12 +3,12 @@ The official [**Commission on Peace Officer Standards and Training**](https://gi
|
|
|
3
3
|
|
|
4
4
|
## Install
|
|
5
5
|
```bash
|
|
6
|
-
$ npm install @typescript-eslint/parser
|
|
7
|
-
$ npm install @commission-on-post/
|
|
6
|
+
$ npm install @typescript-eslint/parser -D
|
|
7
|
+
$ npm install @commission-on-post/eslint-config-recommended -D
|
|
8
8
|
```
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
## Recommended `.
|
|
11
|
+
## Recommended `.eslintrc.json`
|
|
12
12
|
```json
|
|
13
13
|
{
|
|
14
14
|
"root": true,
|
|
@@ -45,7 +45,7 @@ Name | Description | [:large_blue_circle:](##Scripts "LOGO / LINK")
|
|
|
45
45
|
**LintLens - ESLint rules made easier** | Augment your ESLint rules in Visual Studio Code by Adding metadata and usage information beside each ESLint rule. |[<img alt="LinLens Logo" width="120px" src="https://cdn.vsassets.io/v/M194_20211025.9/_content/Header/default_icon_128.png"/>](https://marketplace.visualstudio.com/items?itemName=ghmcadams.lintlens)
|
|
46
46
|
|
|
47
47
|
#### VS Code setting.json (fix on save)
|
|
48
|
-
- If you have format on save in
|
|
48
|
+
- If you have format on save in VS Code you may need to disable it, because mine started fighting.
|
|
49
49
|
```json
|
|
50
50
|
// (file->preferences->settings [switch to json view])
|
|
51
51
|
"eslint.validate": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commission-on-post/eslint-config-recommended",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "ESLint config using recommended state practices for the Commission on POST",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Ryan W. Bell",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"typescript": ">=4.4.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
28
|
-
"@typescript-eslint/parser": "^5.
|
|
29
|
-
"eslint": "^8.
|
|
30
|
-
"typescript": "^
|
|
27
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
28
|
+
"@typescript-eslint/parser": "^5.59.8",
|
|
29
|
+
"eslint": "^8.41.0",
|
|
30
|
+
"typescript": "^5.1.0"
|
|
31
31
|
}
|
|
32
32
|
}
|