Skip to content

Commit

Permalink
chore(deps): update npm packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Nov 18, 2024
1 parent 9f0f71d commit d98ffa1
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eslint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,13 @@ export default [
unicorn.configs['flat/recommended'],
...tseslint.configs.recommended,
eslintConfigPrettier,
{
rules: {
// https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2496
'unicorn/expiring-todo-comments': 'off',
// https://github.com/eslint/eslint/issues/19134
'@typescript-eslint/no-unused-expressions': 'off',
},
},
...oxlint.buildFromOxlintConfigFile('oxlint.json'),
];
88 changes: 88 additions & 0 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,18 @@ exports[`contains all the oxlint rules 1`] = `
],
"array-callback-return": [
0,
{
"allowImplicit": false,
"allowVoid": false,
"checkForEach": false,
},
],
"constructor-super": [
0,
],
"default-case": [
0,
{},
],
"default-case-last": [
0,
Expand All @@ -226,9 +232,12 @@ exports[`contains all the oxlint rules 1`] = `
],
"func-names": [
0,
"always",
{},
],
"getter-return": [
0,
{},
],
"guard-for-in": [
0,
Expand Down Expand Up @@ -592,6 +601,9 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-bitwise": [
0,
{
"allow": [],
},
],
"no-caller": [
0,
Expand All @@ -607,9 +619,11 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-cond-assign": [
0,
"except-parens",
],
"no-console": [
0,
{},
],
"no-const-assign": [
0,
Expand All @@ -619,6 +633,9 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-constant-condition": [
0,
{
"checkLoops": "allExceptWhileTrue",
},
],
"no-constructor-return": [
0,
Expand Down Expand Up @@ -652,18 +669,28 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-else-return": [
0,
{
"allowElseIf": true,
},
],
"no-empty": [
0,
{
"allowEmptyCatch": false,
},
],
"no-empty-character-class": [
0,
],
"no-empty-function": [
0,
{
"allow": [],
},
],
"no-empty-pattern": [
0,
{},
],
"no-empty-static-block": [
0,
Expand All @@ -673,36 +700,57 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-eval": [
0,
{},
],
"no-ex-assign": [
0,
],
"no-extend-native": [
0,
{
"exceptions": [],
},
],
"no-extra-boolean-cast": [
0,
{},
],
"no-fallthrough": [
0,
{
"allowEmptyCase": false,
"reportUnusedFallthroughComment": false,
},
],
"no-func-assign": [
0,
],
"no-global-assign": [
0,
{
"exceptions": [],
},
],
"no-import-assign": [
0,
],
"no-inner-declarations": [
0,
"functions",
],
"no-invalid-regexp": [
0,
{},
],
"no-irregular-whitespace": [
0,
{
"skipComments": false,
"skipJSXText": false,
"skipRegExps": false,
"skipStrings": true,
"skipTemplates": false,
},
],
"no-iterator": [
0,
Expand Down Expand Up @@ -739,6 +787,7 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-plusplus": [
0,
{},
],
"no-proto": [
0,
Expand All @@ -748,6 +797,9 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-redeclare": [
0,
{
"builtinGlobals": true,
},
],
"no-regex-spaces": [
0,
Expand All @@ -757,12 +809,16 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-return-assign": [
0,
"except-parens",
],
"no-script-url": [
0,
],
"no-self-assign": [
0,
{
"props": true,
},
],
"no-self-compare": [
0,
Expand Down Expand Up @@ -790,6 +846,7 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-undef": [
0,
{},
],
"no-undefined": [
0,
Expand All @@ -805,9 +862,11 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-unsafe-negation": [
0,
{},
],
"no-unsafe-optional-chaining": [
0,
{},
],
"no-unused-labels": [
0,
Expand All @@ -832,12 +891,14 @@ exports[`contains all the oxlint rules 1`] = `
],
"no-useless-rename": [
0,
{},
],
"no-var": [
0,
],
"no-void": [
0,
{},
],
"no-with": [
0,
Expand Down Expand Up @@ -889,6 +950,7 @@ exports[`contains all the oxlint rules 1`] = `
],
"radix": [
0,
"always",
],
"react-hooks/rules-of-hooks": [
0,
Expand Down Expand Up @@ -1000,12 +1062,32 @@ exports[`contains all the oxlint rules 1`] = `
],
"sort-imports": [
0,
{
"allowSeparatedGroups": false,
"ignoreCase": false,
"ignoreDeclarationSort": false,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": [
"none",
"all",
"multiple",
"single",
],
},
],
"sort-keys": [
0,
"asc",
{
"allowLineSeparatedGroups": false,
"caseSensitive": true,
"minKeys": 2,
"natural": false,
},
],
"sort-vars": [
0,
{},
],
"symbol-description": [
0,
Expand All @@ -1015,6 +1097,7 @@ exports[`contains all the oxlint rules 1`] = `
],
"unicode-bom": [
0,
"never",
],
"unicorn/catch-error-name": [
0,
Expand Down Expand Up @@ -1282,9 +1365,14 @@ exports[`contains all the oxlint rules 1`] = `
],
"use-isnan": [
0,
{
"enforceForIndexOf": false,
"enforceForSwitchCase": true,
},
],
"valid-typeof": [
0,
{},
],
"vitest/no-conditional-tests": [
0,
Expand Down

0 comments on commit d98ffa1

Please sign in to comment.