@isentinel/eslint-config 4.3.0 → 4.4.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.
package/dist/cli.mjs CHANGED
@@ -10,7 +10,7 @@ import { existsSync, readFileSync } from "fs";
10
10
  import { execSync } from "node:child_process";
11
11
 
12
12
  //#region package.json
13
- var version = "4.3.0";
13
+ var version = "4.4.0";
14
14
  var package_default = {
15
15
  name: "@isentinel/eslint-config",
16
16
  version,
package/dist/index.mjs CHANGED
@@ -5290,6 +5290,7 @@ async function react(options = {}) {
5290
5290
  };
5291
5291
  const typeAwareRules = {
5292
5292
  "react/no-leaked-conditional-rendering": "warn",
5293
+ "react/no-unused-props": "error",
5293
5294
  "react/prefer-read-only-props": "error"
5294
5295
  };
5295
5296
  return [
@@ -5419,7 +5420,6 @@ async function react(options = {}) {
5419
5420
  "Vector3int16"
5420
5421
  ] }],
5421
5422
  "react/no-unused-class-component-members": "off",
5422
- "react/no-unused-props": "error",
5423
5423
  "react/no-unused-state": "error",
5424
5424
  "react/no-use-context": "off",
5425
5425
  "react/no-useless-forward-ref": "error",
@@ -17779,13 +17779,30 @@ async function yaml(options = {}) {
17779
17779
  "yaml/key-spacing": "error",
17780
17780
  "yaml/no-tab-indent": "error",
17781
17781
  "yaml/no-trailing-zeros": "error",
17782
- "yaml/sort-keys": ["error", {
17783
- order: {
17784
- natural: true,
17785
- type: "asc"
17782
+ "yaml/sort-keys": [
17783
+ "error",
17784
+ {
17785
+ order: [
17786
+ "name",
17787
+ "id",
17788
+ {
17789
+ keyPattern: ".*",
17790
+ order: {
17791
+ natural: true,
17792
+ type: "asc"
17793
+ }
17794
+ }
17795
+ ],
17796
+ pathPattern: "(?!$).*"
17786
17797
  },
17787
- pathPattern: "^(?!$).*"
17788
- }],
17798
+ {
17799
+ order: {
17800
+ natural: true,
17801
+ type: "asc"
17802
+ },
17803
+ pathPattern: "(?!$).*"
17804
+ }
17805
+ ],
17789
17806
  "yaml/spaced-comment": "error"
17790
17807
  } : {},
17791
17808
  ...overrides
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isentinel/eslint-config",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "iSentinel's ESLint config",
5
5
  "keywords": [
6
6
  "eslint-config",
@@ -124,7 +124,7 @@
124
124
  "tsdown": "0.16.4",
125
125
  "type-fest": "5.2.0",
126
126
  "typescript": "5.9.3",
127
- "@isentinel/eslint-config": "4.3.0"
127
+ "@isentinel/eslint-config": "4.4.0"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "@vitest/eslint-plugin": "^1.0.0",