@newsteam/eslint-config 0.0.252 → 0.0.253
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.
|
@@ -930,12 +930,6 @@ var rules = {
|
|
|
930
930
|
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/return-await.mdx
|
|
931
931
|
*/
|
|
932
932
|
"@typescript-eslint/return-await": "error",
|
|
933
|
-
/*
|
|
934
|
-
* Enforce constituents of a type union/intersection to be sorted alphabetically.
|
|
935
|
-
*
|
|
936
|
-
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx
|
|
937
|
-
*/
|
|
938
|
-
"@typescript-eslint/sort-type-constituents": "error",
|
|
939
933
|
/*
|
|
940
934
|
* Boolean expressions are limited to booleans
|
|
941
935
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newsteam/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.253",
|
|
4
4
|
"description": "Shared config for eslint",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
"clean": "rimraf dist",
|
|
10
10
|
"clean:tests": "rimraf dist/**/*.test.js dist/**/*.test.d.ts dist/*.test.js dist/*.test.d.ts",
|
|
11
11
|
"depcheck": "depcheck",
|
|
12
|
-
"lint": "
|
|
13
|
-
"_lint": "npm run lint:eslint",
|
|
12
|
+
"lint": "npm run lint:eslint",
|
|
14
13
|
"lint:eslint": "npx eslint src --fix",
|
|
15
14
|
"prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test && npm run clean:tests",
|
|
16
15
|
"test": "npm run test:ts && npm run depcheck && npm run test:rules",
|
|
@@ -59,8 +58,8 @@
|
|
|
59
58
|
"@types/eslint": "8.56.10",
|
|
60
59
|
"@types/jasmine": "5.1.4",
|
|
61
60
|
"@types/node": "20.14.2",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
63
|
-
"@typescript-eslint/parser": "7.
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
62
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
64
63
|
"eslint": "^8.57.0",
|
|
65
64
|
"eslint-find-rules": "4.1.0",
|
|
66
65
|
"eslint-plugin-array-func": "4.0.0",
|
|
@@ -97,8 +96,8 @@
|
|
|
97
96
|
},
|
|
98
97
|
"peerDependencies": {
|
|
99
98
|
"@stylistic/eslint-plugin": "2.1.0",
|
|
100
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
101
|
-
"@typescript-eslint/parser": "7.
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
100
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
102
101
|
"eslint": "^8.57.0",
|
|
103
102
|
"eslint-plugin-array-func": "4.0.0",
|
|
104
103
|
"eslint-plugin-css-modules": "2.12.0",
|
|
@@ -131,4 +130,4 @@
|
|
|
131
130
|
"json-schema": "0.4.0",
|
|
132
131
|
"typescript": "5.4.5"
|
|
133
132
|
}
|
|
134
|
-
}
|
|
133
|
+
}
|