@open-turo/eslint-config-react 16.1.12 → 17.0.0

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.
@@ -0,0 +1,3 @@
1
+ # Breaking changes in v17
2
+
3
+ - `@open-turo/eslint-config-typescript` bumped from v17 to v18. (`@typescript-eslint/consistent-type-assertions` enforced as error.)
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Turo eslint configuration for react",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@open-turo/eslint-config-typescript": "17.0.13",
6
+ "@open-turo/eslint-config-typescript": "18.0.1",
7
7
  "eslint-plugin-jsx-a11y": "6.10.2",
8
8
  "eslint-plugin-react": "7.37.5",
9
9
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
@@ -49,5 +49,5 @@
49
49
  "access": "public"
50
50
  },
51
51
  "repository": "https://github.com/open-turo/eslint-config-react",
52
- "version": "16.1.12"
52
+ "version": "17.0.0"
53
53
  }
@@ -566,6 +566,12 @@ exports[`validate config the flat config is correct for index.cjs 1`] = `
566
566
  "@typescript-eslint/comma-spacing": [
567
567
  0,
568
568
  ],
569
+ "@typescript-eslint/consistent-type-assertions": [
570
+ 2,
571
+ {
572
+ "assertionStyle": "never",
573
+ },
574
+ ],
569
575
  "@typescript-eslint/consistent-type-imports": [
570
576
  2,
571
577
  {
@@ -3634,6 +3640,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3634
3640
  "@typescript-eslint/comma-spacing": [
3635
3641
  0,
3636
3642
  ],
3643
+ "@typescript-eslint/consistent-type-assertions": [
3644
+ 2,
3645
+ {
3646
+ "assertionStyle": "never",
3647
+ },
3648
+ ],
3637
3649
  "@typescript-eslint/consistent-type-imports": [
3638
3650
  2,
3639
3651
  {
@@ -6705,6 +6717,12 @@ exports[`validate config the legacy recommended config is correct 1`] = `
6705
6717
  "@typescript-eslint/comma-spacing": [
6706
6718
  "off",
6707
6719
  ],
6720
+ "@typescript-eslint/consistent-type-assertions": [
6721
+ "error",
6722
+ {
6723
+ "assertionStyle": "never",
6724
+ },
6725
+ ],
6708
6726
  "@typescript-eslint/consistent-type-imports": [
6709
6727
  "error",
6710
6728
  {