@conorroberts/utils 0.0.52 → 0.0.53

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.
@@ -44,7 +44,6 @@
44
44
  "no-emoji/no-emoji": "error",
45
45
  "no-component-date-instantiation/no-component-date-instantiation": "warn",
46
46
  "jsx-component-pascal-case/jsx-component-pascal-case": "error",
47
- "pretty-props/pretty-props": "error",
48
47
  "react/self-closing-comp": [
49
48
  "deny",
50
49
  {
@@ -67,4 +66,4 @@
67
66
  }
68
67
  }
69
68
  ]
70
- }
69
+ }
@@ -1,20 +1,20 @@
1
- import * as oxlint7 from "oxlint";
1
+ import * as oxlint21 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/jsx-component-pascal-case.d.ts
4
- declare const jsxComponentPascalCaseRule: oxlint7.Rule;
4
+ declare const jsxComponentPascalCaseRule: oxlint21.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "jsx-component-pascal-case": oxlint7.Rule;
10
+ "jsx-component-pascal-case": oxlint21.Rule;
11
11
  };
12
12
  }
13
- type RuleContext = oxlint7.Context;
14
- type ESTNode = oxlint7.ESTree.Node;
15
- type ESTExpression = oxlint7.ESTree.Expression;
16
- type ReturnStatementNode = oxlint7.ESTree.ReturnStatement;
17
- type FunctionLikeNode = oxlint7.ESTree.Function | oxlint7.ESTree.ArrowFunctionExpression;
13
+ type RuleContext = oxlint21.Context;
14
+ type ESTNode = oxlint21.ESTree.Node;
15
+ type ESTExpression = oxlint21.ESTree.Expression;
16
+ type ReturnStatementNode = oxlint21.ESTree.ReturnStatement;
17
+ type FunctionLikeNode = oxlint21.ESTree.Function | oxlint21.ESTree.ArrowFunctionExpression;
18
18
  type FunctionContext = {
19
19
  node: FunctionLikeNode;
20
20
  name: string;
@@ -1,20 +1,20 @@
1
- import * as oxlint15 from "oxlint";
1
+ import * as oxlint13 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-component-date-instantiation.d.ts
4
- declare const noComponentDateInstantiationRule: oxlint15.Rule;
4
+ declare const noComponentDateInstantiationRule: oxlint13.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-component-date-instantiation": oxlint15.Rule;
10
+ "no-component-date-instantiation": oxlint13.Rule;
11
11
  };
12
12
  }
13
- type RuleContext = oxlint15.Context;
14
- type ESTNode = oxlint15.ESTree.Node;
15
- type NewExpressionNode = oxlint15.ESTree.NewExpression;
16
- type ReturnStatementNode = oxlint15.ESTree.ReturnStatement;
17
- type FunctionLikeNode = oxlint15.ESTree.Function | oxlint15.ESTree.ArrowFunctionExpression;
13
+ type RuleContext = oxlint13.Context;
14
+ type ESTNode = oxlint13.ESTree.Node;
15
+ type NewExpressionNode = oxlint13.ESTree.NewExpression;
16
+ type ReturnStatementNode = oxlint13.ESTree.ReturnStatement;
17
+ type FunctionLikeNode = oxlint13.ESTree.Function | oxlint13.ESTree.ArrowFunctionExpression;
18
18
  type FunctionContext = {
19
19
  node: FunctionLikeNode;
20
20
  parent: FunctionContext | null;
@@ -1,16 +1,16 @@
1
- import * as oxlint46 from "oxlint";
1
+ import * as oxlint0 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-emoji.d.ts
4
- declare const noEmojiRule: oxlint46.Rule;
4
+ declare const noEmojiRule: oxlint0.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-emoji": oxlint46.Rule;
10
+ "no-emoji": oxlint0.Rule;
11
11
  };
12
12
  }
13
- type ESTNode = oxlint46.ESTree.Node;
13
+ type ESTNode = oxlint0.ESTree.Node;
14
14
  //#endregion
15
15
  export { ESTNode, _default as default, noEmojiRule };
16
16
  //# sourceMappingURL=no-emoji.d.mts.map
@@ -1,16 +1,16 @@
1
- import * as oxlint37 from "oxlint";
1
+ import * as oxlint35 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-finally.d.ts
4
- declare const noFinallyRule: oxlint37.Rule;
4
+ declare const noFinallyRule: oxlint35.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-finally": oxlint37.Rule;
10
+ "no-finally": oxlint35.Rule;
11
11
  };
12
12
  }
13
- type ESTNode = oxlint37.ESTree.Node;
13
+ type ESTNode = oxlint35.ESTree.Node;
14
14
  //#endregion
15
15
  export { ESTNode, _default as default, noFinallyRule };
16
16
  //# sourceMappingURL=no-finally.d.mts.map
@@ -1,19 +1,19 @@
1
- import * as oxlint0 from "oxlint";
1
+ import * as oxlint2 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-function-call-in-jsx.d.ts
4
- declare const noFunctionCallInJsxRule: oxlint0.Rule;
4
+ declare const noFunctionCallInJsxRule: oxlint2.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-function-call-in-jsx": oxlint0.Rule;
10
+ "no-function-call-in-jsx": oxlint2.Rule;
11
11
  };
12
12
  }
13
- type RuleContext = oxlint0.Context;
14
- type ESTNode = oxlint0.ESTree.Node;
15
- type JSXExpressionContainer = oxlint0.ESTree.JSXExpressionContainer;
16
- type CallExpression = oxlint0.ESTree.CallExpression;
13
+ type RuleContext = oxlint2.Context;
14
+ type ESTNode = oxlint2.ESTree.Node;
15
+ type JSXExpressionContainer = oxlint2.ESTree.JSXExpressionContainer;
16
+ type CallExpression = oxlint2.ESTree.CallExpression;
17
17
  //#endregion
18
18
  export { CallExpression, ESTNode, JSXExpressionContainer, RuleContext, _default as default, noFunctionCallInJsxRule };
19
19
  //# sourceMappingURL=no-function-call-in-jsx.d.mts.map
@@ -1,27 +1,27 @@
1
- import * as oxlint26 from "oxlint";
1
+ import * as oxlint38 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-inline-components.d.ts
4
4
  declare function isComponentName(name: unknown): name is string;
5
5
  declare function isHookName(name: unknown): name is string;
6
6
  declare function getEnclosingFunction(node: ESTNode | null | undefined): FunctionLikeNode | null;
7
7
  declare function getFunctionName(node: FunctionLikeNode): string;
8
- declare const noInlineComponentsRule: oxlint26.Rule;
8
+ declare const noInlineComponentsRule: oxlint38.Rule;
9
9
  declare namespace _default {
10
10
  namespace meta {
11
11
  let name: string;
12
12
  }
13
13
  let rules: {
14
- "no-inline-components": oxlint26.Rule;
14
+ "no-inline-components": oxlint38.Rule;
15
15
  };
16
16
  }
17
- type RuleContext = oxlint26.Context;
18
- type ESTNode = oxlint26.ESTree.Node;
19
- type ESTExpression = oxlint26.ESTree.Expression;
20
- type ESTPattern = oxlint26.ESTree.Pattern;
21
- type ReturnStatementNode = oxlint26.ESTree.ReturnStatement;
22
- type VariableDeclaratorNode = oxlint26.ESTree.VariableDeclarator;
23
- type AssignmentExpressionNode = oxlint26.ESTree.AssignmentExpression;
24
- type FunctionLikeNode = oxlint26.ESTree.Function | oxlint26.ESTree.ArrowFunctionExpression;
17
+ type RuleContext = oxlint38.Context;
18
+ type ESTNode = oxlint38.ESTree.Node;
19
+ type ESTExpression = oxlint38.ESTree.Expression;
20
+ type ESTPattern = oxlint38.ESTree.Pattern;
21
+ type ReturnStatementNode = oxlint38.ESTree.ReturnStatement;
22
+ type VariableDeclaratorNode = oxlint38.ESTree.VariableDeclarator;
23
+ type AssignmentExpressionNode = oxlint38.ESTree.AssignmentExpression;
24
+ type FunctionLikeNode = oxlint38.ESTree.Function | oxlint38.ESTree.ArrowFunctionExpression;
25
25
  type RecordedAssignment = {
26
26
  node: ESTExpression;
27
27
  names: string[];
@@ -1,16 +1,16 @@
1
- import * as oxlint23 from "oxlint";
1
+ import * as oxlint29 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-react-namespace.d.ts
4
- declare const noReactNamespaceRule: oxlint23.Rule;
4
+ declare const noReactNamespaceRule: oxlint29.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-react-namespace": oxlint23.Rule;
10
+ "no-react-namespace": oxlint29.Rule;
11
11
  };
12
12
  }
13
- type ESTNode = oxlint23.ESTree.Node;
13
+ type ESTNode = oxlint29.ESTree.Node;
14
14
  //#endregion
15
15
  export { ESTNode, _default as default, noReactNamespaceRule };
16
16
  //# sourceMappingURL=no-react-namespace.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as oxlint5 from "oxlint";
1
+ import * as oxlint11 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-switch-plugin.d.ts
4
4
  declare namespace _default {
@@ -6,10 +6,10 @@ declare namespace _default {
6
6
  let name: string;
7
7
  }
8
8
  let rules: {
9
- "no-switch": oxlint5.Rule;
9
+ "no-switch": oxlint11.Rule;
10
10
  };
11
11
  }
12
- type ESTNode = oxlint5.ESTree.Node;
12
+ type ESTNode = oxlint11.ESTree.Node;
13
13
  //#endregion
14
14
  export { ESTNode, _default as default };
15
15
  //# sourceMappingURL=no-switch-plugin.d.mts.map
@@ -1,16 +1,16 @@
1
- import * as oxlint43 from "oxlint";
1
+ import * as oxlint8 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-top-level-let.d.ts
4
- declare const noTopLevelLetRule: oxlint43.Rule;
4
+ declare const noTopLevelLetRule: oxlint8.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-top-level-let": oxlint43.Rule;
10
+ "no-top-level-let": oxlint8.Rule;
11
11
  };
12
12
  }
13
- type ESTNode = oxlint43.ESTree.Node;
13
+ type ESTNode = oxlint8.ESTree.Node;
14
14
  //#endregion
15
15
  export { ESTNode, _default as default, noTopLevelLetRule };
16
16
  //# sourceMappingURL=no-top-level-let.d.mts.map
@@ -1,16 +1,16 @@
1
- import * as oxlint40 from "oxlint";
1
+ import * as oxlint32 from "oxlint";
2
2
 
3
3
  //#region src/oxlint-plugins/no-type-cast.d.ts
4
- declare const noTypeCastRule: oxlint40.Rule;
4
+ declare const noTypeCastRule: oxlint32.Rule;
5
5
  declare namespace _default {
6
6
  namespace meta {
7
7
  let name: string;
8
8
  }
9
9
  let rules: {
10
- "no-type-cast": oxlint40.Rule;
10
+ "no-type-cast": oxlint32.Rule;
11
11
  };
12
12
  }
13
- type ESTNode = oxlint40.ESTree.Node;
13
+ type ESTNode = oxlint32.ESTree.Node;
14
14
  //#endregion
15
15
  export { ESTNode, _default as default, noTypeCastRule };
16
16
  //# sourceMappingURL=no-type-cast.d.mts.map
package/package.json CHANGED
@@ -86,7 +86,7 @@
86
86
  "typescript": "5.9.3",
87
87
  "vitest": "4.0.15"
88
88
  },
89
- "version": "0.0.52",
89
+ "version": "0.0.53",
90
90
  "scripts": {
91
91
  "dev": "tsdown --watch",
92
92
  "build": "tsc --noEmit && tsdown",