Skip to content

Commit

Permalink
release: v0.15.13 (#344)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
oxc-bot and Boshen authored Mar 4, 2025
1 parent d87619a commit 8e10ae5
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 107 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.15.12",
"version": "0.15.13",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -67,7 +67,7 @@
"jiti": "^2.4.2",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"oxlint": "^0.15.12",
"oxlint": "^0.15.13",
"prettier": "^3.3.3",
"scule": "^1.3.0",
"shelljs": "^0.8.5",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ exports[`contains all the oxlint rules 1`] = `
"@typescript-eslint/no-require-imports": [
0,
],
"@typescript-eslint/no-restricted-imports": [
0,
],
"@typescript-eslint/no-this-alias": [
0,
],
Expand Down Expand Up @@ -226,6 +229,10 @@ exports[`contains all the oxlint rules 1`] = `
"checkForEach": false,
},
],
"curly": [
0,
"all",
],
"default-case": [
0,
{},
Expand Down Expand Up @@ -274,6 +281,9 @@ exports[`contains all the oxlint rules 1`] = `
"import/namespace": [
0,
],
"import/no-absolute-path": [
0,
],
"import/no-amd": [
0,
],
Expand All @@ -292,6 +302,9 @@ exports[`contains all the oxlint rules 1`] = `
"import/no-dynamic-require": [
0,
],
"import/no-mutable-exports": [
0,
],
"import/no-named-as-default": [
0,
],
Expand Down Expand Up @@ -908,6 +921,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-restricted-globals": [
0,
],
"no-restricted-imports": [
0,
],
"no-return-assign": [
0,
"except-parens",
Expand Down Expand Up @@ -1031,6 +1047,10 @@ exports[`contains all the oxlint rules 1`] = `
"node/no-new-require": [
0,
],
"operator-assignment": [
0,
"always",
],
"prefer-exponentiation-operator": [
0,
],
Expand Down Expand Up @@ -1064,6 +1084,9 @@ exports[`contains all the oxlint rules 1`] = `
"promise/no-callback-in-promise": [
0,
],
"promise/no-nesting": [
0,
],
"promise/no-new-statics": [
0,
],
Expand Down Expand Up @@ -1164,6 +1187,9 @@ exports[`contains all the oxlint rules 1`] = `
"react/no-is-mounted": [
0,
],
"react/no-namespace": [
0,
],
"react/no-render-return-value": [
0,
],
Expand Down Expand Up @@ -1242,6 +1268,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/catch-error-name": [
0,
],
"unicorn/consistent-date-clone": [
0,
],
"unicorn/consistent-empty-array-spread": [
0,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

exports[`handleCategoriesScope > custom plugins, custom categories > customPluginCustomCategories 1`] = `
{
"import/no-absolute-path": "off",
"import/no-duplicates": "off",
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
Expand Down
12 changes: 6 additions & 6 deletions src/generated/configs-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ const pedanticConfig = {
rules: rules.pedanticRules,
};

const restrictionConfig = {
name: 'oxlint/restriction',
rules: rules.restrictionRules,
};

const styleConfig = {
name: 'oxlint/style',
rules: rules.styleRules,
};

const restrictionConfig = {
name: 'oxlint/restriction',
rules: rules.restrictionRules,
};

const correctnessConfig = {
name: 'oxlint/correctness',
rules: rules.correctnessRules,
Expand All @@ -34,8 +34,8 @@ const suspiciousConfig = {

const configByCategory = {
'flat/pedantic': pedanticConfig,
'flat/restriction': restrictionConfig,
'flat/style': styleConfig,
'flat/restriction': restrictionConfig,
'flat/correctness': correctnessConfig,
'flat/perf': perfConfig,
'flat/suspicious': suspiciousConfig,
Expand Down
Loading

0 comments on commit 8e10ae5

Please sign in to comment.