eslint-config-cityssm 1.2.0 → 1.2.2

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 CHANGED
@@ -1,6 +1,7 @@
1
1
  # eslint-config-cityssm
2
2
 
3
3
  [![DeepSource](https://app.deepsource.com/gh/cityssm/eslint-config-cityssm.svg/?label=active+issues&show_trend=true&token=2x51pzQmdmBmD3LNk4XgOTZC)](https://app.deepsource.com/gh/cityssm/eslint-config-cityssm/)
4
+ [![Maintainability](https://api.codeclimate.com/v1/badges/789e61c09874b68eb06a/maintainability)](https://codeclimate.com/github/cityssm/eslint-config-cityssm/maintainability)
4
5
 
5
6
  ![Code Scanning Banner](banner.png)
6
7
 
@@ -32,6 +33,7 @@ In the project's .eslintrc.json file.
32
33
  - [eslint-plugin-n](https://www.npmjs.com/package/eslint-plugin-n)
33
34
  - [eslint-plugin-promise](https://www.npmjs.com/package/eslint-plugin-promise)
34
35
  - [eslint-plugin-regexp](https://www.npmjs.com/package/eslint-plugin-regexp)
36
+ - [eslint-plugin-security](https://www.npmjs.com/package/eslint-plugin-security)
35
37
  - [eslint-plugin-sonarjs](https://www.npmjs.com/package/eslint-plugin-sonarjs)
36
38
  - [eslint-plugin-unicorn](https://www.npmjs.com/package/eslint-plugin-unicorn)
37
39
 
@@ -49,6 +49,7 @@ module.exports = {
49
49
  '@typescript-eslint/no-extra-semi': 'off',
50
50
  '@typescript-eslint/no-non-null-assertion': 'warn',
51
51
  '@typescript-eslint/no-misused-promises': 'warn',
52
+ '@typescript-eslint/non-nullable-type-assertion-style': 'off',
52
53
  '@typescript-eslint/restrict-plus-operands': 'warn',
53
54
  '@typescript-eslint/space-before-function-paren': 'off',
54
55
  '@typescript-eslint/strict-boolean-expressions': 'warn',
@@ -50,6 +50,7 @@ module.exports = {
50
50
  '@typescript-eslint/no-extra-semi': 'off',
51
51
  '@typescript-eslint/no-non-null-assertion': 'warn',
52
52
  '@typescript-eslint/no-misused-promises': 'warn',
53
+ '@typescript-eslint/non-nullable-type-assertion-style': 'off',
53
54
  '@typescript-eslint/restrict-plus-operands': 'warn',
54
55
  '@typescript-eslint/space-before-function-paren': 'off',
55
56
  '@typescript-eslint/strict-boolean-expressions': 'warn',
package/package.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "name": "eslint-config-cityssm",
3
3
  "description": "ESLint rules used in the City of Sault Ste. Marie's TypeScript projects.",
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "main": "eslint-config-cityssm.js",
6
6
  "scripts": {
7
- "test": "node ./test/runEslint.mjs"
7
+ "test": "node ./test/runEslint.mjs",
8
+ "coverage": "c8 node ./test/runEslint.mjs"
8
9
  },
9
10
  "keywords": [
10
- "eslint-config"
11
+ "eslint-config",
12
+ "eslintconfig"
11
13
  ],
12
14
  "repository": {
13
15
  "type": "git",
@@ -20,12 +22,12 @@
20
22
  "author": "The Corporation of the City of Sault Ste. Marie",
21
23
  "license": "Unlicense",
22
24
  "dependencies": {
23
- "@typescript-eslint/eslint-plugin": "^6.13.2",
24
- "@typescript-eslint/parser": "^6.13.2",
25
- "eslint-config-standard-with-typescript": "^40.0.0",
25
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
26
+ "@typescript-eslint/parser": "^6.14.0",
27
+ "eslint-config-standard-with-typescript": "^42.0.0",
26
28
  "eslint-plugin-eslint-comments": "^3.2.0",
27
29
  "eslint-plugin-import": "^2.29.0",
28
- "eslint-plugin-n": "^16.3.1",
30
+ "eslint-plugin-n": "^16.4.0",
29
31
  "eslint-plugin-promise": "^6.1.1",
30
32
  "eslint-plugin-regexp": "^2.1.2",
31
33
  "eslint-plugin-security": "^1.7.1",
@@ -33,6 +35,6 @@
33
35
  "eslint-plugin-unicorn": "^49.0.0"
34
36
  },
35
37
  "devDependencies": {
36
- "@types/node": "^20.10.3"
38
+ "@types/node": "^20.10.4"
37
39
  }
38
40
  }