@newsteam/eslint-config 0.0.250 → 0.0.252

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.
@@ -634,6 +634,12 @@ var rules = {
634
634
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-qualifier.mdx
635
635
  */
636
636
  "@typescript-eslint/no-unnecessary-qualifier": "error",
637
+ /*
638
+ * Disallow unnecessary template literals.
639
+ *
640
+ * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unnecessary-template-expression.mdx
641
+ */
642
+ "@typescript-eslint/no-unnecessary-template-expression": "error",
637
643
  /*
638
644
  * Enforces that types will not to be used
639
645
  *
@@ -739,12 +745,6 @@ var rules = {
739
745
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-empty-export.mdx
740
746
  */
741
747
  "@typescript-eslint/no-useless-empty-export": "error",
742
- /*
743
- * Disallow unnecessary template literals.
744
- *
745
- * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-useless-template-literals.mdx
746
- */
747
- "@typescript-eslint/no-useless-template-literals": "error",
748
748
  /*
749
749
  * Disallows the use of require statements except in import statements
750
750
  *
@@ -885,12 +885,6 @@ var rules = {
885
885
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdx
886
886
  */
887
887
  "@typescript-eslint/prefer-string-starts-ends-with": "error",
888
- /*
889
- * Recommends using // @ts-expect-error over // @ts-ignore
890
- *
891
- * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/prefer-ts-expect-error.mdx
892
- */
893
- "@typescript-eslint/prefer-ts-expect-error": "error",
894
888
  /*
895
889
  * Functions that return promises must be async
896
890
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.250",
3
+ "version": "0.0.252",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/cjs/index.d.ts",
@@ -9,7 +9,8 @@
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": "npm run lint:eslint",
12
+ "lint": "echo 'nope'",
13
+ "_lint": "npm run lint:eslint",
13
14
  "lint:eslint": "npx eslint src --fix",
14
15
  "prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test && npm run clean:tests",
15
16
  "test": "npm run test:ts && npm run depcheck && npm run test:rules",
@@ -57,9 +58,9 @@
57
58
  "@stylistic/eslint-plugin": "2.1.0",
58
59
  "@types/eslint": "8.56.10",
59
60
  "@types/jasmine": "5.1.4",
60
- "@types/node": "20.12.12",
61
- "@typescript-eslint/eslint-plugin": "7.10.0",
62
- "@typescript-eslint/parser": "7.10.0",
61
+ "@types/node": "20.14.2",
62
+ "@typescript-eslint/eslint-plugin": "7.12.0",
63
+ "@typescript-eslint/parser": "7.12.0",
63
64
  "eslint": "^8.57.0",
64
65
  "eslint-find-rules": "4.1.0",
65
66
  "eslint-plugin-array-func": "4.0.0",
@@ -78,10 +79,10 @@
78
79
  "eslint-plugin-optimize-regex": "1.2.1",
79
80
  "eslint-plugin-postcss-modules": "2.0.0",
80
81
  "eslint-plugin-prefer-object-spread": "1.2.1",
81
- "eslint-plugin-promise": "6.1.1",
82
- "eslint-plugin-react": "7.34.1",
82
+ "eslint-plugin-promise": "6.2.0",
83
+ "eslint-plugin-react": "7.34.2",
83
84
  "eslint-plugin-react-19-upgrade": "^1.6.0",
84
- "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
85
+ "eslint-plugin-react-compiler": "next",
85
86
  "eslint-plugin-react-hooks": "4.6.2",
86
87
  "eslint-plugin-react-native": "4.1.0",
87
88
  "eslint-plugin-react-perf": "3.3.2",
@@ -96,8 +97,8 @@
96
97
  },
97
98
  "peerDependencies": {
98
99
  "@stylistic/eslint-plugin": "2.1.0",
99
- "@typescript-eslint/eslint-plugin": "7.10.0",
100
- "@typescript-eslint/parser": "7.10.0",
100
+ "@typescript-eslint/eslint-plugin": "7.12.0",
101
+ "@typescript-eslint/parser": "7.12.0",
101
102
  "eslint": "^8.57.0",
102
103
  "eslint-plugin-array-func": "4.0.0",
103
104
  "eslint-plugin-css-modules": "2.12.0",
@@ -114,10 +115,10 @@
114
115
  "eslint-plugin-optimize-regex": "1.2.1",
115
116
  "eslint-plugin-postcss-modules": "2.0.0",
116
117
  "eslint-plugin-prefer-object-spread": "1.2.1",
117
- "eslint-plugin-promise": "6.1.1",
118
- "eslint-plugin-react": "7.34.1",
118
+ "eslint-plugin-promise": "6.2.0",
119
+ "eslint-plugin-react": "7.34.2",
119
120
  "eslint-plugin-react-19-upgrade": "^1.6.0",
120
- "eslint-plugin-react-compiler": "0.0.0-experimental-c8b3f72-20240517",
121
+ "eslint-plugin-react-compiler": "next",
121
122
  "eslint-plugin-react-hooks": "4.6.2",
122
123
  "eslint-plugin-react-native": "4.1.0",
123
124
  "eslint-plugin-react-perf": "3.3.2",
@@ -130,4 +131,4 @@
130
131
  "json-schema": "0.4.0",
131
132
  "typescript": "5.4.5"
132
133
  }
133
- }
134
+ }