Skip to content

Commit 1ceb5c5

Browse files
oxc-botBoshen
andauthored
release: v1.14.0 (#493)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent abdb6b7 commit 1ceb5c5

File tree

6 files changed

+55
-103
lines changed

6 files changed

+55
-103
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.13.0",
3+
"version": "1.14.0",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -69,7 +69,7 @@
6969
"jiti": "^2.4.2",
7070
"lint-staged": "^16.0.0",
7171
"memfs": "^4.14.0",
72-
"oxlint": "^1.13.0",
72+
"oxlint": "^1.14.0",
7373
"prettier": "^3.3.3",
7474
"scule": "^1.3.0",
7575
"shelljs": "^0.10.0",

pnpm-lock.yaml

Lines changed: 38 additions & 101 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
@@ -1828,6 +1828,9 @@ exports[`contains all the oxlint rules 1`] = `
18281828
"vitest/valid-expect": [
18291829
0,
18301830
],
1831+
"vue/valid-define-emits": [
1832+
0,
1833+
],
18311834
"yoda": [
18321835
0,
18331836
"never",

src/generated/configs-by-scope.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ const vitestConfig = {
7272
rules: rules.vitestRules,
7373
};
7474

75+
const vueConfig = {
76+
name: 'oxlint/vue',
77+
rules: rules.vueRules,
78+
};
79+
7580
const configByScope = {
7681
'flat/eslint': eslintConfig,
7782
'flat/import': importConfig,
@@ -87,6 +92,7 @@ const configByScope = {
8792
'flat/typescript': typescriptConfig,
8893
'flat/unicorn': unicornConfig,
8994
'flat/vitest': vitestConfig,
95+
'flat/vue': vueConfig,
9096
};
9197

9298
export default configByScope;

src/generated/rules-by-category.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ const correctnessRules: Record<string, 'off'> = {
542542
'unicorn/prefer-string-starts-ends-with': 'off',
543543
'vitest/no-conditional-tests': 'off',
544544
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
545+
'vue/valid-define-emits': 'off',
545546
'@typescript-eslint/no-dupe-class-members': 'off',
546547
'@typescript-eslint/no-loss-of-precision': 'off',
547548
'@typescript-eslint/no-unused-vars': 'off',

src/generated/rules-by-scope.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,10 @@ const vitestRules: Record<string, 'off'> = {
592592
'vitest/valid-expect': 'off',
593593
};
594594

595+
const vueRules: Record<string, 'off'> = {
596+
'vue/valid-define-emits': 'off',
597+
};
598+
595599
export {
596600
eslintRules,
597601
importRules,
@@ -607,4 +611,5 @@ export {
607611
typescriptRules,
608612
unicornRules,
609613
vitestRules,
614+
vueRules,
610615
};

0 commit comments

Comments
 (0)