@commission-on-post/eslint-config-recommended 0.4.0 → 0.4.1

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/.eslintrc.js +17 -5
  2. package/package.json +31 -31
package/.eslintrc.js CHANGED
@@ -60,15 +60,24 @@ module.exports = {
60
60
  "error",
61
61
  "always"
62
62
  ],
63
- "@typescript-eslint/no-unsafe-argument":[
63
+ "@typescript-eslint/no-unsafe-argument": [
64
+ "off" // Unfortunately working with JS APIs necessitates working with functions that accept an any type
65
+ ],
66
+ "@typescript-eslint/no-unsafe-call": [
67
+ "off" // Unfortunately working with JS APIs necessitates working with functions that accept an any type
68
+ ],
69
+ "@typescript-eslint/no-unsafe-member-access": [
70
+ "off" // Unfortunately working with JS APIs necessitates working with functions that accept an any type
71
+ ],
72
+ "@typescript-eslint/no-unsafe-assignment": [
64
73
  "off" // Unfortunately working with JS APIs necessitates working with functions that accept an any type
65
74
  ],
66
75
  "@typescript-eslint/keyword-spacing": [
67
76
  "warn",
68
77
  {
69
78
  "overrides": {
70
- "from": {"before": true, "after": true},
71
- "as": {"before": true, "after": true}
79
+ "from": { "before": true, "after": true },
80
+ "as": { "before": true, "after": true }
72
81
  // { keyword: {before: <boolean>, after: <boolean>}}
73
82
  // "abstract", "as", "async", "await", "boolean", "break", "byte", "case", "catch", "char",
74
83
  // "class", "const", "continue", "debugger", "default", "delete", "do", "double", "else", "enum",
@@ -138,8 +147,10 @@ module.exports = {
138
147
  "warn",
139
148
  {
140
149
  "ignore": [
150
+ -1,
141
151
  0,
142
152
  1,
153
+ 2,
143
154
  69,
144
155
  420
145
156
  ]
@@ -338,6 +349,7 @@ module.exports = {
338
349
  "afterColon": true,
339
350
  "beforeColon": false
340
351
  }
352
+
341
353
  ],
342
354
  "linebreak-style": [
343
355
  "warn",
@@ -724,7 +736,7 @@ module.exports = {
724
736
  ],
725
737
  "@typescript-eslint/class-literal-property-style": [
726
738
  "warn",
727
- "getters"
739
+ "fields"
728
740
  ],
729
741
  "@typescript-eslint/consistent-indexed-object-style": [
730
742
  "error",
@@ -933,7 +945,7 @@ module.exports = {
933
945
  "@typescript-eslint/type-annotation-spacing": [
934
946
  "warn",
935
947
  {
936
- before: true,
948
+ before: false,
937
949
  after: true
938
950
  }
939
951
  ],
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@commission-on-post/eslint-config-recommended",
3
- "version": "0.4.0",
4
- "description": "ESLint config using recommended state practices for the Commission on POST",
5
- "main": "index.js",
6
- "author": "Ryan W. Bell",
7
- "license": "UNLICENSED",
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/Commission-on-POST/eslint_recommended_style.git"
11
- },
12
- "homepage": "https://github.com/Commission-on-POST/eslint_recommended_style#readme",
13
- "keywords": [
14
- "ESlint",
15
- "style",
16
- "guide",
17
- "tslint",
18
- "recommended"
19
- ],
20
- "peerDependencies": {
21
- "@typescript-eslint/eslint-plugin": ">=5.3.0",
22
- "@typescript-eslint/parser": ">=5.3.0",
23
- "eslint": ">=8.1.0",
24
- "typescript": ">=4.4.4"
25
- },
26
- "devDependencies": {
27
- "@typescript-eslint/eslint-plugin": "^5.3.0",
28
- "@typescript-eslint/parser": "^5.3.0",
29
- "eslint": "^8.1.0",
30
- "typescript": "^4.4.4"
31
- }
1
+ {
2
+ "name": "@commission-on-post/eslint-config-recommended",
3
+ "version": "0.4.1",
4
+ "description": "ESLint config using recommended state practices for the Commission on POST",
5
+ "main": "index.js",
6
+ "author": "Ryan W. Bell",
7
+ "license": "UNLICENSED",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/Commission-on-POST/eslint_recommended_style.git"
11
+ },
12
+ "homepage": "https://github.com/Commission-on-POST/eslint_recommended_style#readme",
13
+ "keywords": [
14
+ "ESlint",
15
+ "style",
16
+ "guide",
17
+ "tslint",
18
+ "recommended"
19
+ ],
20
+ "peerDependencies": {
21
+ "@typescript-eslint/eslint-plugin": ">=5.3.0",
22
+ "@typescript-eslint/parser": ">=5.3.0",
23
+ "eslint": ">=8.1.0",
24
+ "typescript": ">=4.4.4"
25
+ },
26
+ "devDependencies": {
27
+ "@typescript-eslint/eslint-plugin": "^5.3.0",
28
+ "@typescript-eslint/parser": "^5.3.0",
29
+ "eslint": "^8.1.0",
30
+ "typescript": "^4.4.4"
31
+ }
32
32
  }