Skip to content

Commit af2ff4c

Browse files
oxc-botBoshenSysix
authored
release: v1.7.0 (#459)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action --------- Co-authored-by: Boshen <Boshen@users.noreply.github.com> Co-authored-by: Sysix <sysix@sysix-coding.de>
1 parent f884f4d commit af2ff4c

File tree

6 files changed

+48
-43
lines changed

6 files changed

+48
-43
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-oxlint",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -67,7 +67,7 @@
6767
"jiti": "^2.4.2",
6868
"lint-staged": "^16.0.0",
6969
"memfs": "^4.14.0",
70-
"oxlint": "^1.6.0",
70+
"oxlint": "^1.7.0",
7171
"prettier": "^3.3.3",
7272
"scule": "^1.3.0",
7373
"shelljs": "^0.10.0",

pnpm-lock.yaml

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/__snapshots__/configs.spec.ts.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ exports[`contains all the oxlint rules 1`] = `
3838
"@next/next/no-head-import-in-document": [
3939
0,
4040
],
41+
"@next/next/no-html-link-for-pages": [
42+
0,
43+
],
4144
"@next/next/no-img-element": [
4245
0,
4346
],

src/build-from-oxlint-config.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ describe('integration test with oxlint', () => {
6767
rules: { eqeqeq: 'off' },
6868
},
6969
// combination plugin + rule
70-
{ plugins: ['vite'], rules: { eqeqeq: 'off' } },
70+
{ plugins: ['nextjs'], rules: { eqeqeq: 'off' } },
7171

7272
// categories change
7373
{ categories: { correctness: 'off', suspicious: 'warn' } },
7474
// combination plugin + categires + rules
7575
{
76-
plugins: ['vite'],
76+
plugins: ['nextjs'],
7777
categories: { correctness: 'off', style: 'warn' },
7878
rules: { eqeqeq: 'off' },
7979
},
@@ -100,7 +100,7 @@ describe('integration test with oxlint', () => {
100100
'import',
101101
'jsdoc',
102102
'jsx-a11y',
103-
'n',
103+
'node',
104104
'promise',
105105
'jest',
106106
'vitest',
@@ -117,7 +117,7 @@ describe('integration test with oxlint', () => {
117117
'import',
118118
'jsdoc',
119119
'jsx-a11y',
120-
'n',
120+
'node',
121121
'promise',
122122
'jest',
123123
'vitest',

src/generated/rules-by-category.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ const correctnessRules: Record<string, 'off'> = {
490490
'@next/next/no-title-in-document-head': 'off',
491491
'@next/next/no-typos': 'off',
492492
'@next/next/no-unwanted-polyfillio': 'off',
493+
'@next/next/no-html-link-for-pages': 'off',
493494
'promise/no-callback-in-promise': 'off',
494495
'promise/no-new-statics': 'off',
495496
'promise/valid-params': 'off',

src/generated/rules-by-scope.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ const nextjsRules: Record<string, 'off'> = {
302302
'@next/next/no-title-in-document-head': 'off',
303303
'@next/next/no-typos': 'off',
304304
'@next/next/no-unwanted-polyfillio': 'off',
305+
'@next/next/no-html-link-for-pages': 'off',
305306
};
306307

307308
const nodeRules: Record<string, 'off'> = {

0 commit comments

Comments
 (0)