Skip to content

Commit 2a133f2

Browse files
oxc-botBoshen
andauthored
release: v0.15.5 (#294)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen <[email protected]>
1 parent b4562e3 commit 2a133f2

File tree

5 files changed

+63
-39
lines changed

5 files changed

+63
-39
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": "0.15.4",
3+
"version": "0.15.5",
44
"description": "Turn off all rules already supported by oxlint",
55
"type": "module",
66
"types": "./dist/index.d.ts",
@@ -66,7 +66,7 @@
6666
"husky": "^9.1.6",
6767
"lint-staged": "^15.2.10",
6868
"memfs": "^4.14.0",
69-
"oxlint": "^0.15.4",
69+
"oxlint": "^0.15.5",
7070
"prettier": "^3.3.3",
7171
"scule": "^1.3.0",
7272
"shelljs": "^0.8.5",

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: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,28 @@ exports[`contains all the oxlint rules 1`] = `
592592
"max-params": [
593593
0,
594594
],
595+
"new-cap": [
596+
0,
597+
{
598+
"capIsNew": true,
599+
"capIsNewExceptions": [
600+
"Array",
601+
"Boolean",
602+
"Date",
603+
"Error",
604+
"Function",
605+
"Number",
606+
"Object",
607+
"RegExp",
608+
"String",
609+
"Symbol",
610+
"BigInt",
611+
],
612+
"newIsCap": true,
613+
"newIsCapExceptions": [],
614+
"properties": true,
615+
},
616+
],
595617
"no-alert": [
596618
0,
597619
],

src/generated/rules-by-category.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ const styleRules = {
149149
'func-names': 'off',
150150
'guard-for-in': 'off',
151151
'max-params': 'off',
152+
'new-cap': 'off',
152153
'no-continue': 'off',
153154
'no-duplicate-imports': 'off',
154155
'no-extra-label': 'off',

src/generated/rules-by-scope.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const eslintRules = {
1212
'max-classes-per-file': 'off',
1313
'max-lines': 'off',
1414
'max-params': 'off',
15+
'new-cap': 'off',
1516
'no-alert': 'off',
1617
'no-array-constructor': 'off',
1718
'no-async-promise-executor': 'off',

0 commit comments

Comments
 (0)