Skip to content

Commit 65aa964

Browse files
committed
chore: bump deps
1 parent f67d06d commit 65aa964

File tree

5 files changed

+5
-179
lines changed

5 files changed

+5
-179
lines changed

Diff for: bun.lockb

1.97 KB
Binary file not shown.

Diff for: eslint.config.js

-170
Original file line numberDiff line numberDiff line change
@@ -7,174 +7,4 @@ export default [
77
{languageOptions: { globals: {...globals.browser, ...globals.node} }},
88
pluginJs.configs.recommended,
99
...tseslint.configs.recommended,
10-
{
11-
rules:{
12-
"constructor-super": "off",
13-
"default-case-last": "off",
14-
"default-param-last": "off",
15-
"dot-notation": "off",
16-
"eqeqeq": "off",
17-
"for-direction": "off",
18-
"getter-return": "off",
19-
"no-async-promise-executor": "off",
20-
"no-case-declarations": "off",
21-
"no-class-assign": "off",
22-
"no-compare-neg-zero": "off",
23-
"no-cond-assign": "off",
24-
"no-const-assign": "off",
25-
"no-constant-condition": "off",
26-
"no-constructor-return": "off",
27-
"no-control-regex": "off",
28-
"no-debugger": "off",
29-
"no-delete-var": "off",
30-
"no-dupe-args": "off",
31-
"no-dupe-class-members": "off",
32-
"no-dupe-keys": "off",
33-
"no-duplicate-case": "off",
34-
"no-else-return": "off",
35-
"no-empty": "off",
36-
"no-empty-character-class": "off",
37-
"no-empty-pattern": "off",
38-
"no-eval": "off",
39-
"no-ex-assign": "off",
40-
"no-extra-boolean-cast": "off",
41-
"no-extra-label": "off",
42-
"no-fallthrough": "off",
43-
"no-func-assign": "off",
44-
"no-global-assign": "off",
45-
"no-import-assign": "off",
46-
"no-inner-declarations": "off",
47-
"no-label-var": "off",
48-
"no-labels": "off",
49-
"no-lone-blocks": "off",
50-
"no-loss-of-precision": "off",
51-
"no-misleading-character-class": "off",
52-
"no-new-native-nonconstructor": "off",
53-
"no-new-symbol": "off",
54-
"no-nonoctal-decimal-escape": "off",
55-
"no-obj-calls": "off",
56-
"no-param-reassign": "off",
57-
"no-prototype-builtins": "off",
58-
"no-redeclare": "off",
59-
"no-regex-spaces": "off",
60-
"no-return-assign": "off",
61-
"no-self-assign": "off",
62-
"no-self-compare": "off",
63-
"no-sequences": "off",
64-
"no-setter-return": "off",
65-
"no-shadow-restricted-names": "off",
66-
"no-sparse-array": "off",
67-
"no-this-before-super": "off",
68-
"no-unneeded-ternary": "off",
69-
"no-unreachable": "off",
70-
"no-unsafe-finally": "off",
71-
"no-unsafe-negation": "off",
72-
"no-unsafe-optional-chaining": "off",
73-
"no-unused-labels": "off",
74-
"no-use-before-define": "off",
75-
"no-useless-catch": "off",
76-
"no-useless-computed-key": "off",
77-
"no-useless-constructor": "off",
78-
"no-useless-rename": "off",
79-
"no-var": "off",
80-
"no-with": "off",
81-
"one-var": "off",
82-
"prefer-arrow-callback": "off",
83-
"prefer-const": "off",
84-
"prefer-exponentiation-operator": "off",
85-
"prefer-numeric-literals": "off",
86-
"prefer-regex-literals": "off",
87-
"prefer-rest-params": "off",
88-
"prefer-template": "off",
89-
"require-yield": "off",
90-
"use-isnan": "off",
91-
"valid-typeof": "off",
92-
"@mysticatea/eslint-plugin/no-this-in-static": "off",
93-
"@typescript-eslint/ban-types": "off",
94-
"@typescript-eslint/consistent-type-exports": "off",
95-
"@typescript-eslint/consistent-type-imports": "off",
96-
"@typescript-eslint/default-param-last": "off",
97-
"@typescript-eslint/dot-notation": "off",
98-
"@typescript-eslint/no-dupe-class-members": "off",
99-
"@typescript-eslint/no-empty-interface": "off",
100-
"@typescript-eslint/no-explicit-any": "off",
101-
"@typescript-eslint/no-extra-non-null-assertion": "off",
102-
"@typescript-eslint/no-extraneous-class": "off",
103-
"@typescript-eslint/no-import-type-side-effects": "off",
104-
"@typescript-eslint/no-inferrable-types": "off",
105-
"@typescript-eslint/no-invalid-void-type": "off",
106-
"@typescript-eslint/no-loss-of-precision": "off",
107-
"@typescript-eslint/no-misused-new": "off",
108-
"@typescript-eslint/no-non-null-assertion": "off",
109-
"@typescript-eslint/no-redeclare": "off",
110-
"@typescript-eslint/no-this-alias": "off",
111-
"@typescript-eslint/no-unnecessary-type-arguments": "off",
112-
"@typescript-eslint/no-unnecessary-type-constraint": "off",
113-
"@typescript-eslint/no-unsafe-declaration-merging": "off",
114-
"@typescript-eslint/no-use-before-define": "off",
115-
"@typescript-eslint/no-useless-constructor": "off",
116-
"@typescript-eslint/no-useless-empty-export": "off",
117-
"@typescript-eslint/no-useless-template-literals": "off",
118-
"@typescript-eslint/prefer-as-const": "off",
119-
"@typescript-eslint/prefer-enum-initializers": "off",
120-
"@typescript-eslint/prefer-function-type": "off",
121-
"@typescript-eslint/prefer-literal-enum-member": "off",
122-
"@typescript-eslint/prefer-namespace-keyword": "off",
123-
"@typescript-eslint/prefer-optional-chain": "off",
124-
"jest/max-nested-describe": "off",
125-
"jest/no-duplicate-hooks": "off",
126-
"jest/no-export": "off",
127-
"jest/no-focused-tests": "off",
128-
"jsx-a11y/alt-text": "off",
129-
"jsx-a11y/anchor-has-content": "off",
130-
"jsx-a11y/anchor-is-valid": "off",
131-
"jsx-a11y/aria-activedescendant-has-tabindex": "off",
132-
"jsx-a11y/aria-props": "off",
133-
"jsx-a11y/aria-proptypes": "off",
134-
"jsx-a11y/aria-role": "off",
135-
"jsx-a11y/aria-unsupported-elements": "off",
136-
"jsx-a11y/click-events-have-key-events": "off",
137-
"jsx-a11y/heading-has-content": "off",
138-
"jsx-a11y/html-has-lang": "off",
139-
"jsx-a11y/iframe-has-title": "off",
140-
"jsx-a11y/img-redundant-alt": "off",
141-
"jsx-a11y/lang": "off",
142-
"jsx-a11y/media-has-caption": "off",
143-
"jsx-a11y/mouse-events-have-key-events": "off",
144-
"jsx-a11y/no-access-key": "off",
145-
"jsx-a11y/no-aria-hidden-on-focusable": "off",
146-
"jsx-a11y/no-autofocus": "off",
147-
"jsx-a11y/no-distracting-elements": "off",
148-
"jsx-a11y/no-interactive-element-to-noninteractive-role": "off",
149-
"jsx-a11y/no-noninteractive-element-to-interactive-role": "off",
150-
"jsx-a11y/no-noninteractive-tabindex": "off",
151-
"jsx-a11y/no-redundant-roles": "off",
152-
"jsx-a11y/role-has-required-aria-props": "off",
153-
"jsx-a11y/scope": "off",
154-
"jsx-a11y/tabindex-no-positive": "off",
155-
"react/button-has-type": "off",
156-
"react/jsx-key": "off",
157-
"react/jsx-no-comment-textnodes": "off",
158-
"react/jsx-no-duplicate-props": "off",
159-
"react/jsx-no-target-blank": "off",
160-
"react/jsx-no-useless-fragment": "off",
161-
"react/no-array-index-key": "off",
162-
"react/no-children-prop": "off",
163-
"react/no-danger": "off",
164-
"react/no-danger-with-children": "off",
165-
"react/void-dom-elements-no-children": "off",
166-
"react-hooks/exhaustive-deps": "off",
167-
"simple-import-sort/imports": "off",
168-
"stylistic/jsx-self-closing-comp": "off",
169-
"unicorn/no-array-for-each": "off",
170-
"unicorn/no-instanceof-array": "off",
171-
"unicorn/no-static-only-class": "off",
172-
"unicorn/no-thenable": "off",
173-
"unicorn/no-typeof-undefined": "off",
174-
"unicorn/no-useless-switch-case": "off",
175-
"unicorn/prefer-array-flat-map": "off",
176-
"unicorn/prefer-node-protocol": "off",
177-
"unicorn/prefer-number-properties": "off",
178-
}
179-
}
18010
];

Diff for: package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"sourcemap": true
4444
},
4545
"devDependencies": {
46-
"@eslint/js": "^9.10.0",
46+
"@eslint/js": "^9.11.0",
4747
"@types/bun": "latest",
4848
"@types/yargs": "^17.0.33",
4949
"globals": "^15.9.0",
50-
"typescript-eslint": "^8.4.0",
50+
"typescript-eslint": "^8.6.0",
5151
"unbuild": "^2.0.0"
5252
},
5353
"peerDependencies": {
@@ -58,7 +58,7 @@
5858
},
5959
"dependencies": {
6060
"@biomejs/js-api": "^0.6.2",
61-
"eslint": "^9.10.0",
61+
"eslint": "^9.11.0",
6262
"yargs": "^17.7.2"
6363
}
6464
}

Diff for: src/biome.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ const biomeLintFile = (biome: Biome, filePath: string, fix = true) => {
124124
return convertBiomeResult(result, filePath, result.content);
125125
};
126126

127-
export const biomeLintFiles = (
128-
biome: Biome,
129-
files: string[],
130-
fix = true,
131-
) => {
127+
export const biomeLintFiles = (biome: Biome, files: string[], fix = true) => {
132128
const results = [];
133129

134130
for (const file of files) {

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const instance = yargs(hideBin(process.argv))
4444
async (args) => {
4545
try {
4646
const { files: files_, fix, only, debug } = args;
47-
const files = [files_];
47+
const files = Array.isArray(files_) ? files_ : [files_];
4848
const eslintOnly = only === "eslint";
4949

5050
if (files.length === 0) {

0 commit comments

Comments
 (0)