eslint-config-heck 7.3.0 → 7.3.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/biomeJsTs.json CHANGED
@@ -153,14 +153,13 @@
153
153
  "noShadow": "off",
154
154
  "noTsIgnore": "error",
155
155
  "noUnassignedVariables": "error",
156
- "noUnnecessaryConditions": "error",
156
+ "noUnnecessaryConditions": "off",
157
157
  "noUnresolvedImports": "off",
158
158
  "noUnwantedPolyfillio": "off",
159
159
  "noUselessBackrefInRegex": "error",
160
160
  "noUselessEscapeInString": "error",
161
161
  "noUselessUndefined": "error",
162
162
  "useAdjacentGetterSetter": "error",
163
- "useAnchorHref": "error",
164
163
  "useConsistentObjectDefinition": {
165
164
  "level": "error",
166
165
  "options": {
@@ -174,7 +173,6 @@
174
173
  "useExportsLast": "error",
175
174
  "useForComponent": "off",
176
175
  "useGoogleFontPreconnect": "error",
177
- "useImageSize": "error",
178
176
  "useIndexOf": "error",
179
177
  "useIterableCallbackReturn": "off",
180
178
  "useJsonImportAttribute": "error",
package/nodeWithBiome.js CHANGED
@@ -829,7 +829,12 @@ export default [
829
829
  "@typescript-eslint/no-this-alias": "off",
830
830
  "@typescript-eslint/no-type-alias": "off",
831
831
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
832
- "@typescript-eslint/no-unnecessary-condition": "off",
832
+ "@typescript-eslint/no-unnecessary-condition": [
833
+ "error",
834
+ {
835
+ checkTypePredicates: true,
836
+ },
837
+ ],
833
838
  "@typescript-eslint/no-unnecessary-parameter-property-assignment":
834
839
  "error",
835
840
  "@typescript-eslint/no-unnecessary-qualifier": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "7.3.0",
3
+ "version": "7.3.2",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -28,10 +28,10 @@
28
28
  "author": "atheck",
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
- "@stylistic/eslint-plugin": "5.2.2",
31
+ "@stylistic/eslint-plugin": "5.2.3",
32
32
  "@typescript-eslint/eslint-plugin": "8.39.0",
33
33
  "@typescript-eslint/parser": "8.39.0",
34
- "eslint": "9.32.0",
34
+ "eslint": "9.33.0",
35
35
  "eslint-plugin-import": "2.32.0",
36
36
  "eslint-plugin-jest": "29.0.1",
37
37
  "eslint-plugin-react": "7.37.5",