@putstack/oxlint-config 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +52 -48
- package/dist/index.js.map +1 -1
- package/package.json +47 -46
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# An Oxlint configuration by Putro
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { OxlintConfig } from "oxlint";
|
|
3
2
|
//#region src/index.d.ts
|
|
4
3
|
type ConfigTypes = 'base' | 'recommended';
|
|
5
|
-
declare const configs: Record<ConfigTypes,
|
|
4
|
+
declare const configs: Record<ConfigTypes, OxlintConfig>;
|
|
6
5
|
declare const _default: {
|
|
7
|
-
configs: Record<ConfigTypes,
|
|
6
|
+
configs: Record<ConfigTypes, OxlintConfig>;
|
|
8
7
|
};
|
|
9
8
|
//#endregion
|
|
10
9
|
export { configs, _default as default };
|
package/dist/index.js
CHANGED
|
@@ -381,6 +381,54 @@ const genericPerfectionistSortRules = [
|
|
|
381
381
|
"perfectionist/sort-variable-declarations"
|
|
382
382
|
];
|
|
383
383
|
const genericSortRulesWithoutPartition = /* @__PURE__ */ new Set(["perfectionist/sort-jsx-props", "perfectionist/sort-switch-case"]);
|
|
384
|
+
const perfectionistConfig = defineConfig({
|
|
385
|
+
jsPlugins: ["eslint-plugin-perfectionist"],
|
|
386
|
+
rules: {
|
|
387
|
+
"perfectionist/sort-imports": ["warn", {
|
|
388
|
+
groups: [
|
|
389
|
+
"builtin",
|
|
390
|
+
"external",
|
|
391
|
+
"internal",
|
|
392
|
+
"parent",
|
|
393
|
+
"sibling",
|
|
394
|
+
"index",
|
|
395
|
+
"unknown"
|
|
396
|
+
],
|
|
397
|
+
ignoreCase: true,
|
|
398
|
+
newlinesBetween: 0,
|
|
399
|
+
order: "asc",
|
|
400
|
+
partitionByComment: true,
|
|
401
|
+
type: "natural"
|
|
402
|
+
}],
|
|
403
|
+
...Object.fromEntries(genericPerfectionistSortRules.map((rule) => [rule, ["error", genericSortRulesWithoutPartition.has(rule) ? { type: "natural" } : {
|
|
404
|
+
partitionByComment: true,
|
|
405
|
+
type: "natural"
|
|
406
|
+
}]])),
|
|
407
|
+
"@typescript-eslint/adjacent-overload-signatures": "off"
|
|
408
|
+
}
|
|
409
|
+
});
|
|
410
|
+
const importConfig = defineConfig({
|
|
411
|
+
plugins: ["import"],
|
|
412
|
+
rules: {
|
|
413
|
+
"import/consistent-type-specifier-style": ["warn", "prefer-top-level"],
|
|
414
|
+
"import/default": "error",
|
|
415
|
+
"import/namespace": "error",
|
|
416
|
+
"import/no-duplicates": "warn",
|
|
417
|
+
"import/no-named-as-default": "warn",
|
|
418
|
+
"import/no-named-as-default-member": "warn"
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
const demorganConfig = defineConfig({
|
|
422
|
+
jsPlugins: ["eslint-plugin-de-morgan"],
|
|
423
|
+
rules: {
|
|
424
|
+
"de-morgan/no-negated-conjunction": "error",
|
|
425
|
+
"de-morgan/no-negated-disjunction": "error"
|
|
426
|
+
}
|
|
427
|
+
});
|
|
428
|
+
const dependConfig = defineConfig({
|
|
429
|
+
jsPlugins: ["eslint-plugin-depend"],
|
|
430
|
+
rules: { "depend/ban-dependencies": "error" }
|
|
431
|
+
});
|
|
384
432
|
const base = defineConfig({
|
|
385
433
|
categories: { correctness: "off" },
|
|
386
434
|
env: {
|
|
@@ -393,54 +441,10 @@ const base = defineConfig({
|
|
|
393
441
|
eslintConfig,
|
|
394
442
|
typescriptConfig,
|
|
395
443
|
sonarConfig,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
groups: [
|
|
401
|
-
"builtin",
|
|
402
|
-
"external",
|
|
403
|
-
"internal",
|
|
404
|
-
"parent",
|
|
405
|
-
"sibling",
|
|
406
|
-
"index",
|
|
407
|
-
"unknown"
|
|
408
|
-
],
|
|
409
|
-
ignoreCase: true,
|
|
410
|
-
newlinesBetween: 0,
|
|
411
|
-
order: "asc",
|
|
412
|
-
partitionByComment: true,
|
|
413
|
-
type: "natural"
|
|
414
|
-
}],
|
|
415
|
-
...Object.fromEntries(genericPerfectionistSortRules.map((rule) => [rule, ["error", genericSortRulesWithoutPartition.has(rule) ? { type: "natural" } : {
|
|
416
|
-
partitionByComment: true,
|
|
417
|
-
type: "natural"
|
|
418
|
-
}]])),
|
|
419
|
-
"@typescript-eslint/adjacent-overload-signatures": "off"
|
|
420
|
-
}
|
|
421
|
-
}),
|
|
422
|
-
defineConfig({
|
|
423
|
-
plugins: ["import"],
|
|
424
|
-
rules: {
|
|
425
|
-
"import/consistent-type-specifier-style": ["warn", "prefer-top-level"],
|
|
426
|
-
"import/default": "error",
|
|
427
|
-
"import/namespace": "error",
|
|
428
|
-
"import/no-duplicates": "warn",
|
|
429
|
-
"import/no-named-as-default": "warn",
|
|
430
|
-
"import/no-named-as-default-member": "warn"
|
|
431
|
-
}
|
|
432
|
-
}),
|
|
433
|
-
defineConfig({
|
|
434
|
-
jsPlugins: ["eslint-plugin-de-morgan"],
|
|
435
|
-
rules: {
|
|
436
|
-
"de-morgan/no-negated-conjunction": "error",
|
|
437
|
-
"de-morgan/no-negated-disjunction": "error"
|
|
438
|
-
}
|
|
439
|
-
}),
|
|
440
|
-
defineConfig({
|
|
441
|
-
jsPlugins: ["eslint-plugin-depend"],
|
|
442
|
-
rules: { "depend/ban-dependencies": "error" }
|
|
443
|
-
})
|
|
444
|
+
perfectionistConfig,
|
|
445
|
+
importConfig,
|
|
446
|
+
demorganConfig,
|
|
447
|
+
dependConfig
|
|
444
448
|
],
|
|
445
449
|
options: {}
|
|
446
450
|
});
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/base.ts","../src/recommended.ts","../src/index.ts"],"sourcesContent":["import { defineConfig } from 'oxlint';\r\n\r\nconst eslintConfig = defineConfig({\r\n overrides: [\r\n {\r\n files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],\r\n rules: {\r\n 'constructor-super': 'off',\r\n 'getter-return': 'off',\r\n 'no-class-assign': 'off',\r\n 'no-const-assign': 'off',\r\n 'no-dupe-class-members': 'off',\r\n 'no-dupe-keys': 'off',\r\n 'no-func-assign': 'off',\r\n 'no-import-assign': 'off',\r\n 'no-new-native-nonconstructor': 'off',\r\n 'no-obj-calls': 'off',\r\n 'no-setter-return': 'off',\r\n 'no-this-before-super': 'off',\r\n 'no-unreachable': 'off',\r\n 'no-unsafe-negation': 'off',\r\n 'no-var': 'error',\r\n 'no-with': 'off',\r\n 'prefer-const': 'error',\r\n 'prefer-rest-params': 'error',\r\n 'prefer-spread': 'error',\r\n },\r\n },\r\n ],\r\n plugins: ['eslint'],\r\n rules: {\r\n 'constructor-super': 'error',\r\n 'default-case-last': 'warn',\r\n 'default-param-last': 'warn',\r\n 'for-direction': 'error',\r\n 'getter-return': 'error',\r\n 'no-array-constructor': 'error',\r\n 'no-async-promise-executor': 'error',\r\n 'no-case-declarations': 'error',\r\n 'no-class-assign': 'error',\r\n 'no-compare-neg-zero': 'error',\r\n 'no-cond-assign': 'error',\r\n 'no-const-assign': 'error',\r\n 'no-constant-binary-expression': 'error',\r\n 'no-constant-condition': 'error',\r\n 'no-control-regex': 'error',\r\n 'no-debugger': 'error',\r\n 'no-delete-var': 'error',\r\n 'no-dupe-class-members': 'error',\r\n 'no-dupe-else-if': 'error',\r\n 'no-dupe-keys': 'error',\r\n 'no-duplicate-case': 'error',\r\n 'no-empty': 'error',\r\n 'no-empty-character-class': 'error',\r\n 'no-empty-function': 'error',\r\n 'no-empty-pattern': 'error',\r\n 'no-empty-static-block': 'error',\r\n 'no-ex-assign': 'error',\r\n 'no-extra-boolean-cast': 'error',\r\n 'no-fallthrough': 'error',\r\n 'no-func-assign': 'error',\r\n 'no-global-assign': 'error',\r\n 'no-import-assign': 'error',\r\n 'no-invalid-regexp': 'error',\r\n 'no-irregular-whitespace': 'error',\r\n 'no-loss-of-precision': 'error',\r\n 'no-misleading-character-class': 'error',\r\n 'no-new-native-nonconstructor': 'error',\r\n 'no-nonoctal-decimal-escape': 'error',\r\n 'no-obj-calls': 'error',\r\n 'no-prototype-builtins': 'error',\r\n 'no-redeclare': 'warn',\r\n 'no-regex-spaces': 'error',\r\n 'no-self-assign': 'error',\r\n 'no-setter-return': 'error',\r\n 'no-shadow': 'warn',\r\n 'no-shadow-restricted-names': 'error',\r\n 'no-sparse-arrays': 'error',\r\n 'no-this-before-super': 'error',\r\n 'no-unassigned-vars': 'error',\r\n 'no-unexpected-multiline': 'error',\r\n 'no-unreachable': 'error',\r\n 'no-unsafe-finally': 'error',\r\n 'no-unsafe-negation': 'error',\r\n 'no-unsafe-optional-chaining': 'error',\r\n 'no-unused-expressions': 'error',\r\n 'no-unused-labels': 'error',\r\n 'no-unused-private-class-members': 'error',\r\n 'no-unused-vars': [\r\n 'error',\r\n {\r\n args: 'all',\r\n argsIgnorePattern: '^_',\r\n caughtErrors: 'all',\r\n caughtErrorsIgnorePattern: '^_',\r\n destructuredArrayIgnorePattern: '^_',\r\n ignoreRestSiblings: true,\r\n varsIgnorePattern: '^_',\r\n },\r\n ],\r\n 'no-useless-backreference': 'error',\r\n 'no-useless-catch': 'error',\r\n 'no-useless-escape': 'error',\r\n 'no-with': 'error',\r\n 'prefer-arrow-callback': 'warn',\r\n 'preserve-caught-error': 'error',\r\n 'require-yield': 'error',\r\n 'use-isnan': 'error',\r\n 'valid-typeof': 'error',\r\n },\r\n});\r\n\r\nconst typescriptConfig = defineConfig({\r\n plugins: ['typescript'],\r\n rules: {\r\n 'typescript/array-type': [\r\n 'warn',\r\n {\r\n default: 'generic',\r\n readonly: 'generic',\r\n },\r\n ],\r\n 'typescript/ban-ts-comment': 'error',\r\n 'typescript/ban-tslint-comment': 'error',\r\n 'typescript/class-literal-property-style': 'error',\r\n 'typescript/consistent-generic-constructors': 'error',\r\n 'typescript/consistent-indexed-object-style': 'error',\r\n 'typescript/consistent-type-assertions': 'error',\r\n 'typescript/consistent-type-definitions': 'error',\r\n 'typescript/consistent-type-imports': [\r\n 'warn',\r\n {\r\n fixStyle: 'inline-type-imports',\r\n prefer: 'type-imports',\r\n },\r\n ],\r\n 'typescript/no-confusing-non-null-assertion': 'error',\r\n 'typescript/no-duplicate-enum-values': 'error',\r\n 'typescript/no-empty-object-type': 'error',\r\n 'typescript/no-explicit-any': 'error',\r\n 'typescript/no-extra-non-null-assertion': 'error',\r\n 'typescript/no-import-type-side-effects': 'warn',\r\n 'typescript/no-inferrable-types': 'error',\r\n 'typescript/no-misused-new': 'error',\r\n 'typescript/no-namespace': 'error',\r\n 'typescript/no-non-null-asserted-optional-chain': 'error',\r\n 'typescript/no-require-imports': 'error',\r\n 'typescript/no-this-alias': 'error',\r\n 'typescript/no-unnecessary-type-constraint': 'error',\r\n 'typescript/no-unsafe-declaration-merging': 'error',\r\n 'typescript/no-unsafe-function-type': 'error',\r\n 'typescript/no-wrapper-object-types': 'error',\r\n 'typescript/prefer-as-const': 'error',\r\n 'typescript/prefer-for-of': 'error',\r\n 'typescript/prefer-function-type': 'error',\r\n 'typescript/prefer-namespace-keyword': 'error',\r\n 'typescript/triple-slash-reference': 'error',\r\n },\r\n});\r\n\r\nconst sonarConfig = defineConfig({\r\n jsPlugins: ['eslint-plugin-sonarjs'],\r\n rules: {\r\n 'sonarjs/anchor-precedence': 'error',\r\n 'sonarjs/argument-type': 'error',\r\n 'sonarjs/arguments-order': 'error',\r\n 'sonarjs/array-callback-without-return': 'error',\r\n 'sonarjs/assertions-in-tests': 'error',\r\n 'sonarjs/async-test-assertions': 'error',\r\n 'sonarjs/aws-apigateway-public-api': 'error',\r\n 'sonarjs/aws-ec2-rds-dms-public': 'error',\r\n 'sonarjs/aws-ec2-unencrypted-ebs-volume': 'error',\r\n 'sonarjs/aws-efs-unencrypted': 'error',\r\n 'sonarjs/aws-iam-all-privileges': 'error',\r\n 'sonarjs/aws-iam-privilege-escalation': 'error',\r\n 'sonarjs/aws-iam-public-access': 'error',\r\n 'sonarjs/aws-opensearchservice-domain': 'error',\r\n 'sonarjs/aws-rds-unencrypted-databases': 'error',\r\n 'sonarjs/aws-restricted-ip-admin-access': 'error',\r\n 'sonarjs/aws-s3-bucket-granted-access': 'error',\r\n 'sonarjs/aws-s3-bucket-insecure-http': 'error',\r\n 'sonarjs/aws-s3-bucket-public-access': 'error',\r\n 'sonarjs/aws-s3-bucket-versioning': 'error',\r\n 'sonarjs/aws-sagemaker-unencrypted-notebook': 'error',\r\n 'sonarjs/aws-sns-unencrypted-topics': 'error',\r\n 'sonarjs/aws-sqs-unencrypted-queue': 'error',\r\n 'sonarjs/bitwise-operators': 'error',\r\n 'sonarjs/block-scoped-var': 'error',\r\n 'sonarjs/call-argument-line': 'error',\r\n 'sonarjs/chai-determinate-assertion': 'error',\r\n 'sonarjs/class-name': 'error',\r\n 'sonarjs/code-eval': 'error',\r\n 'sonarjs/cognitive-complexity': 'error',\r\n 'sonarjs/comma-or-logical-or-case': 'error',\r\n 'sonarjs/concise-regex': 'error',\r\n 'sonarjs/constructor-for-side-effects': 'error',\r\n 'sonarjs/content-length': 'error',\r\n 'sonarjs/content-security-policy': 'error',\r\n 'sonarjs/cookie-no-httponly': 'error',\r\n 'sonarjs/cors': 'error',\r\n 'sonarjs/csrf': 'error',\r\n 'sonarjs/deprecation': 'error',\r\n 'sonarjs/different-types-comparison': 'error',\r\n 'sonarjs/disabled-auto-escaping': 'error',\r\n 'sonarjs/disabled-resource-integrity': 'error',\r\n 'sonarjs/disabled-timeout': 'error',\r\n 'sonarjs/dompurify-unsafe-config': 'error',\r\n 'sonarjs/duplicates-in-character-class': 'error',\r\n 'sonarjs/dynamically-constructed-templates': 'error',\r\n 'sonarjs/empty-string-repetition': 'error',\r\n 'sonarjs/encryption-secure-mode': 'error',\r\n 'sonarjs/existing-groups': 'error',\r\n 'sonarjs/file-permissions': 'error',\r\n 'sonarjs/file-uploads': 'error',\r\n 'sonarjs/fixme-tag': 'error',\r\n 'sonarjs/for-loop-increment-sign': 'error',\r\n 'sonarjs/function-inside-loop': 'error',\r\n 'sonarjs/function-return-type': 'error',\r\n 'sonarjs/future-reserved-words': 'error',\r\n 'sonarjs/generator-without-yield': 'error',\r\n 'sonarjs/hardcoded-secret-signatures': 'error',\r\n 'sonarjs/hashing': 'error',\r\n 'sonarjs/hooks-before-test-cases': 'error',\r\n 'sonarjs/in-operator-type-error': 'error',\r\n 'sonarjs/inconsistent-function-call': 'error',\r\n 'sonarjs/index-of-compare-to-positive-number': 'error',\r\n 'sonarjs/insecure-cookie': 'error',\r\n 'sonarjs/insecure-jwt-token': 'error',\r\n 'sonarjs/inverted-assertion-arguments': 'error',\r\n 'sonarjs/jsx-no-leaked-render': 'error',\r\n 'sonarjs/label-position': 'error',\r\n 'sonarjs/link-with-target-blank': 'error',\r\n 'sonarjs/max-switch-cases': 'error',\r\n 'sonarjs/misplaced-loop-counter': 'error',\r\n 'sonarjs/new-operator-misuse': 'error',\r\n 'sonarjs/no-all-duplicated-branches': 'error',\r\n 'sonarjs/no-alphabetical-sort': 'error',\r\n 'sonarjs/no-angular-bypass-sanitization': 'error',\r\n 'sonarjs/no-array-delete': 'error',\r\n 'sonarjs/no-associative-arrays': 'error',\r\n 'sonarjs/no-async-constructor': 'error',\r\n 'sonarjs/no-case-label-in-switch': 'error',\r\n 'sonarjs/no-clear-text-protocols': 'error',\r\n 'sonarjs/no-code-after-done': 'error',\r\n 'sonarjs/no-collection-size-mischeck': 'error',\r\n 'sonarjs/no-control-regex': 'error',\r\n 'sonarjs/no-dead-store': 'error',\r\n 'sonarjs/no-delete-var': 'error',\r\n 'sonarjs/no-duplicate-in-composite': 'error',\r\n 'sonarjs/no-duplicate-test-title': 'error',\r\n 'sonarjs/no-duplicated-branches': 'error',\r\n 'sonarjs/no-element-overwrite': 'error',\r\n 'sonarjs/no-empty-after-reluctant': 'error',\r\n 'sonarjs/no-empty-alternatives': 'error',\r\n 'sonarjs/no-empty-character-class': 'error',\r\n 'sonarjs/no-empty-collection': 'error',\r\n 'sonarjs/no-empty-group': 'error',\r\n 'sonarjs/no-empty-test-file': 'error',\r\n 'sonarjs/no-empty-test-title': 'error',\r\n 'sonarjs/no-equals-in-for-termination': 'error',\r\n 'sonarjs/no-exclusive-tests': 'error',\r\n 'sonarjs/no-extra-arguments': 'error',\r\n 'sonarjs/no-fallthrough': 'error',\r\n 'sonarjs/no-floating-point-equality': 'error',\r\n 'sonarjs/no-forced-browser-interaction': 'error',\r\n 'sonarjs/no-global-this': 'error',\r\n 'sonarjs/no-globals-shadowing': 'error',\r\n 'sonarjs/no-gratuitous-expressions': 'error',\r\n 'sonarjs/no-hardcoded-ip': 'error',\r\n 'sonarjs/no-hardcoded-passwords': 'error',\r\n 'sonarjs/no-hardcoded-secrets': 'error',\r\n 'sonarjs/no-hook-setter-in-body': 'error',\r\n 'sonarjs/no-identical-conditions': 'error',\r\n 'sonarjs/no-identical-expressions': 'error',\r\n 'sonarjs/no-identical-functions': 'error',\r\n 'sonarjs/no-ignored-exceptions': 'error',\r\n 'sonarjs/no-ignored-return': 'error',\r\n 'sonarjs/no-implicit-global': 'error',\r\n 'sonarjs/no-in-misuse': 'error',\r\n 'sonarjs/no-incompatible-assertion-types': 'error',\r\n 'sonarjs/no-incomplete-assertions': 'error',\r\n 'sonarjs/no-internal-api-use': 'error',\r\n 'sonarjs/no-invalid-regexp': 'error',\r\n 'sonarjs/no-invariant-returns': 'error',\r\n 'sonarjs/no-inverted-boolean-check': 'error',\r\n 'sonarjs/no-labels': 'error',\r\n 'sonarjs/no-literal-call': 'error',\r\n 'sonarjs/no-mime-sniff': 'error',\r\n 'sonarjs/no-misleading-array-reverse': 'error',\r\n 'sonarjs/no-misleading-character-class': 'error',\r\n 'sonarjs/no-nested-assignment': 'error',\r\n 'sonarjs/no-nested-conditional': 'error',\r\n 'sonarjs/no-nested-functions': 'error',\r\n 'sonarjs/no-nested-template-literals': 'error',\r\n 'sonarjs/no-os-command-from-path': 'error',\r\n 'sonarjs/no-parameter-reassignment': 'error',\r\n 'sonarjs/no-primitive-wrappers': 'error',\r\n 'sonarjs/no-redundant-assignments': 'error',\r\n 'sonarjs/no-redundant-boolean': 'error',\r\n 'sonarjs/no-redundant-jump': 'error',\r\n 'sonarjs/no-redundant-optional': 'error',\r\n 'sonarjs/no-referrer-policy': 'error',\r\n 'sonarjs/no-regex-spaces': 'error',\r\n 'sonarjs/no-same-argument-assert': 'error',\r\n 'sonarjs/no-same-line-conditional': 'error',\r\n 'sonarjs/no-selector-parameter': 'error',\r\n 'sonarjs/no-session-cookies-on-static-assets': 'error',\r\n 'sonarjs/no-skipped-tests': 'error',\r\n 'sonarjs/no-small-switch': 'error',\r\n 'sonarjs/no-table-as-layout': 'error',\r\n 'sonarjs/no-trivial-assertions': 'error',\r\n 'sonarjs/no-try-promise': 'error',\r\n 'sonarjs/no-undefined-argument': 'error',\r\n 'sonarjs/no-unenclosed-multiline-block': 'error',\r\n 'sonarjs/no-uniq-key': 'error',\r\n 'sonarjs/no-unthrown-error': 'error',\r\n 'sonarjs/no-unused-collection': 'error',\r\n 'sonarjs/no-use-of-empty-return-value': 'error',\r\n 'sonarjs/no-useless-catch': 'error',\r\n 'sonarjs/no-useless-increment': 'error',\r\n 'sonarjs/no-useless-intersection': 'error',\r\n 'sonarjs/no-useless-react-setstate': 'error',\r\n 'sonarjs/no-weak-cipher': 'error',\r\n 'sonarjs/no-weak-keys': 'error',\r\n 'sonarjs/non-existent-operator': 'error',\r\n 'sonarjs/null-dereference': 'error',\r\n 'sonarjs/object-alt-content': 'error',\r\n 'sonarjs/post-message': 'error',\r\n 'sonarjs/prefer-default-last': 'error',\r\n 'sonarjs/prefer-promise-shorthand': 'error',\r\n 'sonarjs/prefer-regexp-exec': 'error',\r\n 'sonarjs/prefer-single-boolean-return': 'error',\r\n 'sonarjs/prefer-specific-assertions': 'error',\r\n 'sonarjs/prefer-type-guard': 'error',\r\n 'sonarjs/prefer-while': 'error',\r\n 'sonarjs/production-debug': 'error',\r\n 'sonarjs/pseudo-random': 'error',\r\n 'sonarjs/public-static-readonly': 'error',\r\n 'sonarjs/publicly-writable-directories': 'error',\r\n 'sonarjs/reduce-initial-value': 'error',\r\n 'sonarjs/redundant-type-aliases': 'error',\r\n 'sonarjs/regex-complexity': 'error',\r\n 'sonarjs/review-blockchain-mnemonic': 'error',\r\n 'sonarjs/session-regeneration': 'error',\r\n 'sonarjs/single-char-in-character-classes': 'error',\r\n 'sonarjs/single-character-alternation': 'error',\r\n 'sonarjs/slow-regex': 'error',\r\n 'sonarjs/sql-queries': 'error',\r\n 'sonarjs/stable-tests': 'error',\r\n 'sonarjs/stateful-regex': 'error',\r\n 'sonarjs/strict-transport-security': 'error',\r\n 'sonarjs/super-linear-regex': 'error',\r\n 'sonarjs/table-header': 'error',\r\n 'sonarjs/table-header-reference': 'error',\r\n 'sonarjs/test-check-exception': 'error',\r\n 'sonarjs/unused-import': 'error',\r\n 'sonarjs/unused-named-groups': 'error',\r\n 'sonarjs/unverified-certificate': 'error',\r\n 'sonarjs/unverified-hostname': 'error',\r\n 'sonarjs/updated-const-var': 'error',\r\n 'sonarjs/updated-loop-counter': 'error',\r\n 'sonarjs/use-type-alias': 'error',\r\n 'sonarjs/weak-ssl': 'error',\r\n 'sonarjs/x-powered-by': 'error',\r\n 'sonarjs/xml-parser-xxe': 'error',\r\n },\r\n});\r\n\r\nconst genericPerfectionistSortRules = [\r\n 'perfectionist/sort-array-includes',\r\n 'perfectionist/sort-classes',\r\n 'perfectionist/sort-decorators',\r\n 'perfectionist/sort-enums',\r\n 'perfectionist/sort-export-attributes',\r\n 'perfectionist/sort-exports',\r\n 'perfectionist/sort-heritage-clauses',\r\n 'perfectionist/sort-import-attributes',\r\n 'perfectionist/sort-interfaces',\r\n 'perfectionist/sort-intersection-types',\r\n 'perfectionist/sort-jsx-props',\r\n 'perfectionist/sort-maps',\r\n 'perfectionist/sort-modules',\r\n 'perfectionist/sort-named-exports',\r\n 'perfectionist/sort-named-imports',\r\n 'perfectionist/sort-object-types',\r\n 'perfectionist/sort-objects',\r\n 'perfectionist/sort-sets',\r\n 'perfectionist/sort-switch-case',\r\n 'perfectionist/sort-union-types',\r\n 'perfectionist/sort-variable-declarations',\r\n] as const;\r\n\r\nconst genericSortRulesWithoutPartition = new Set<(typeof genericPerfectionistSortRules)[number]>([\r\n 'perfectionist/sort-jsx-props',\r\n 'perfectionist/sort-switch-case',\r\n]);\r\n\r\nconst perfectionistConfig = defineConfig({\r\n jsPlugins: ['eslint-plugin-perfectionist'],\r\n rules: {\r\n //Set up a specific import order that we generally want to adhere to.\r\n //This makes it easier to recognize where an import is coming from.\r\n 'perfectionist/sort-imports': [\r\n 'warn',\r\n {\r\n groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'unknown'],\r\n ignoreCase: true,\r\n newlinesBetween: 0,\r\n order: 'asc',\r\n partitionByComment: true,\r\n type: 'natural',\r\n },\r\n ],\r\n //Extend the default recommended rules to include comment partioning to allow for comments being used for explanatory purposes.\r\n ...Object.fromEntries(\r\n genericPerfectionistSortRules.map((rule) => [\r\n rule,\r\n [\r\n 'error',\r\n genericSortRulesWithoutPartition.has(rule)\r\n ? {\r\n type: 'natural',\r\n }\r\n : { partitionByComment: true, type: 'natural' },\r\n ],\r\n ]),\r\n ),\r\n //Turning this rule off as recommended in the perfectionist documention as it is handled by perfectionist in the following rules:\r\n //sort-interfaces: https://perfectionist.dev/rules/sort-interfaces\r\n //sort-objects: https://perfectionist.dev/rules/sort-object-types\r\n '@typescript-eslint/adjacent-overload-signatures': 'off',\r\n },\r\n});\r\n\r\nconst importConfig = defineConfig({\r\n plugins: ['import'],\r\n rules: {\r\n 'import/consistent-type-specifier-style': ['warn', 'prefer-top-level'],\r\n 'import/default': 'error',\r\n 'import/namespace': 'error',\r\n 'import/no-duplicates': 'warn',\r\n 'import/no-named-as-default': 'warn',\r\n 'import/no-named-as-default-member': 'warn',\r\n },\r\n});\r\n\r\nconst demorganConfig = defineConfig({\r\n jsPlugins: ['eslint-plugin-de-morgan'],\r\n rules: {\r\n 'de-morgan/no-negated-conjunction': 'error',\r\n 'de-morgan/no-negated-disjunction': 'error',\r\n },\r\n});\r\n\r\nconst dependConfig = defineConfig({\r\n jsPlugins: ['eslint-plugin-depend'],\r\n rules: {\r\n 'depend/ban-dependencies': 'error',\r\n },\r\n});\r\n\r\nexport const base = defineConfig({\r\n categories: {\r\n correctness: 'off',\r\n },\r\n env: {\r\n browser: true,\r\n builtin: true,\r\n es2024: true,\r\n node: true,\r\n },\r\n extends: [\r\n eslintConfig,\r\n typescriptConfig,\r\n sonarConfig,\r\n perfectionistConfig,\r\n importConfig,\r\n demorganConfig,\r\n dependConfig,\r\n ],\r\n options: {\r\n //typeAware: true,\r\n },\r\n});\r\n","import { defineConfig } from 'oxlint';\r\nimport { base } from './base';\r\n\r\nexport const recommended = defineConfig({\r\n extends: [base],\r\n plugins: ['unicorn'],\r\n rules: {\r\n 'unicorn/catch-error-name': 'error',\r\n 'unicorn/consistent-assert': 'error',\r\n 'unicorn/consistent-date-clone': 'error',\r\n 'unicorn/consistent-empty-array-spread': 'error',\r\n 'unicorn/consistent-existence-index-check': 'error',\r\n 'unicorn/consistent-function-scoping': 'error',\r\n 'unicorn/consistent-template-literal-escape': 'error',\r\n 'unicorn/empty-brace-spaces': 'error',\r\n 'unicorn/error-message': 'error',\r\n 'unicorn/escape-case': 'error',\r\n 'unicorn/explicit-length-check': 'error',\r\n 'unicorn/filename-case': 'error',\r\n 'unicorn/import-style': 'error',\r\n 'unicorn/max-nested-calls': 'error',\r\n 'unicorn/new-for-builtins': 'error',\r\n 'unicorn/no-abusive-eslint-disable': 'error',\r\n 'unicorn/no-accessor-recursion': 'error',\r\n 'unicorn/no-anonymous-default-export': 'error',\r\n 'unicorn/no-array-callback-reference': 'error',\r\n 'unicorn/no-array-fill-with-reference-type': 'error',\r\n 'unicorn/no-array-method-this-argument': 'error',\r\n 'unicorn/no-array-reduce': 'error',\r\n 'unicorn/no-array-reverse': 'error',\r\n 'unicorn/no-array-sort': 'error',\r\n 'unicorn/no-await-expression-member': 'error',\r\n 'unicorn/no-await-in-promise-methods': 'error',\r\n 'unicorn/no-console-spaces': 'error',\r\n 'unicorn/no-document-cookie': 'error',\r\n 'unicorn/no-empty-file': 'error',\r\n 'unicorn/no-immediate-mutation': 'error',\r\n 'unicorn/no-instanceof-builtins': 'error',\r\n 'unicorn/no-invalid-fetch-options': 'error',\r\n 'unicorn/no-invalid-remove-event-listener': 'error',\r\n 'unicorn/no-lonely-if': 'error',\r\n 'unicorn/no-magic-array-flat-depth': 'error',\r\n 'unicorn/no-negated-condition': 'error',\r\n 'unicorn/no-negation-in-equality-check': 'error',\r\n 'unicorn/no-nested-ternary': 'error',\r\n 'unicorn/no-new-array': 'error',\r\n 'unicorn/no-new-buffer': 'error',\r\n 'unicorn/no-null': 'error',\r\n 'unicorn/no-object-as-default-parameter': 'error',\r\n 'unicorn/no-process-exit': 'error',\r\n 'unicorn/no-single-promise-in-promise-methods': 'error',\r\n 'unicorn/no-static-only-class': 'error',\r\n 'unicorn/no-thenable': 'error',\r\n 'unicorn/no-this-assignment': 'error',\r\n 'unicorn/no-typeof-undefined': 'error',\r\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\r\n 'unicorn/no-unnecessary-array-splice-count': 'error',\r\n 'unicorn/no-unnecessary-await': 'error',\r\n 'unicorn/no-unnecessary-slice-end': 'error',\r\n 'unicorn/no-unreadable-array-destructuring': 'error',\r\n 'unicorn/no-unreadable-iife': 'error',\r\n 'unicorn/no-useless-collection-argument': 'error',\r\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\r\n 'unicorn/no-useless-fallback-in-spread': 'error',\r\n 'unicorn/no-useless-length-check': 'error',\r\n 'unicorn/no-useless-promise-resolve-reject': 'error',\r\n 'unicorn/no-useless-spread': 'error',\r\n 'unicorn/no-useless-switch-case': 'error',\r\n 'unicorn/no-useless-undefined': 'error',\r\n 'unicorn/no-zero-fractions': 'error',\r\n 'unicorn/number-literal-case': 'error',\r\n 'unicorn/numeric-separators-style': 'error',\r\n 'unicorn/prefer-add-event-listener': 'error',\r\n 'unicorn/prefer-array-find': 'error',\r\n 'unicorn/prefer-array-flat': 'error',\r\n 'unicorn/prefer-array-flat-map': 'error',\r\n 'unicorn/prefer-array-index-of': 'error',\r\n 'unicorn/prefer-array-some': 'error',\r\n 'unicorn/prefer-at': 'error',\r\n 'unicorn/prefer-bigint-literals': 'error',\r\n 'unicorn/prefer-blob-reading-methods': 'error',\r\n 'unicorn/prefer-class-fields': 'error',\r\n 'unicorn/prefer-classlist-toggle': 'error',\r\n 'unicorn/prefer-code-point': 'error',\r\n 'unicorn/prefer-date-now': 'error',\r\n 'unicorn/prefer-default-parameters': 'error',\r\n 'unicorn/prefer-dom-node-append': 'error',\r\n 'unicorn/prefer-dom-node-remove': 'error',\r\n 'unicorn/prefer-dom-node-text-content': 'error',\r\n 'unicorn/prefer-event-target': 'error',\r\n 'unicorn/prefer-export-from': 'error',\r\n 'unicorn/prefer-global-this': 'error',\r\n 'unicorn/prefer-includes': 'error',\r\n 'unicorn/prefer-keyboard-event-key': 'error',\r\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\r\n 'unicorn/prefer-math-min-max': 'error',\r\n 'unicorn/prefer-math-trunc': 'error',\r\n 'unicorn/prefer-modern-dom-apis': 'error',\r\n 'unicorn/prefer-modern-math-apis': 'error',\r\n 'unicorn/prefer-module': 'error',\r\n 'unicorn/prefer-native-coercion-functions': 'error',\r\n 'unicorn/prefer-negative-index': 'error',\r\n 'unicorn/prefer-node-protocol': 'error',\r\n 'unicorn/prefer-number-coercion': 'error',\r\n 'unicorn/prefer-number-properties': 'error',\r\n 'unicorn/prefer-object-from-entries': 'error',\r\n 'unicorn/prefer-optional-catch-binding': 'error',\r\n 'unicorn/prefer-prototype-methods': 'error',\r\n 'unicorn/prefer-query-selector': 'error',\r\n 'unicorn/prefer-reflect-apply': 'error',\r\n 'unicorn/prefer-regexp-test': 'error',\r\n 'unicorn/prefer-response-static-json': 'error',\r\n 'unicorn/prefer-set-has': 'error',\r\n 'unicorn/prefer-set-size': 'error',\r\n 'unicorn/prefer-single-call': 'error',\r\n 'unicorn/prefer-spread': 'error',\r\n 'unicorn/prefer-string-raw': 'error',\r\n 'unicorn/prefer-string-replace-all': 'error',\r\n 'unicorn/prefer-string-slice': 'error',\r\n 'unicorn/prefer-string-starts-ends-with': 'error',\r\n 'unicorn/prefer-string-trim-start-end': 'error',\r\n 'unicorn/prefer-structured-clone': 'error',\r\n 'unicorn/prefer-ternary': 'error',\r\n 'unicorn/prefer-top-level-await': 'error',\r\n 'unicorn/prefer-type-error': 'error',\r\n 'unicorn/relative-url-style': 'error',\r\n 'unicorn/require-array-join-separator': 'error',\r\n 'unicorn/require-module-attributes': 'error',\r\n 'unicorn/require-module-specifiers': 'error',\r\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\r\n 'unicorn/switch-case-braces': 'error',\r\n 'unicorn/switch-case-break-position': 'error',\r\n 'unicorn/text-encoding-identifier-case': 'error',\r\n 'unicorn/throw-new-error': 'error',\r\n },\r\n});\r\n","import type { defineConfig } from 'oxlint';\r\nimport { base } from './base';\r\nimport { recommended } from './recommended';\r\ntype ConfigTypes = 'base' | 'recommended';\r\n\r\nconst configs: Record<ConfigTypes, ReturnType<typeof defineConfig>> = {\r\n base,\r\n recommended,\r\n};\r\n\r\nexport { configs };\r\nexport default { configs };\r\n"],"mappings":";;AAEA,MAAM,eAAe,aAAa;CAChC,WAAW,CACT;EACE,OAAO;GAAC;GAAW;GAAY;GAAY;EAAU;EACrD,OAAO;GACL,qBAAqB;GACrB,iBAAiB;GACjB,mBAAmB;GACnB,mBAAmB;GACnB,yBAAyB;GACzB,gBAAgB;GAChB,kBAAkB;GAClB,oBAAoB;GACpB,gCAAgC;GAChC,gBAA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kCAAkC;GAClC,wCAAwC;GACxC,+BAA+B;GAC/B,8BAA8B;GAC9B,8BAA8B;GAC9B,2BAA2B;GAC3B,qCAAqC;GACrC,gDAAgD;GAChD,+BAA+B;GAC/B,6BAA6B;GAC7B,kCAAkC;GAClC,mCAAmC;GACnC,yBAAyB;GACzB,4CAA4C;GAC5C,iCAAiC;GACjC,gCAAgC;GAChC,kCAAkC;GAClC,oCAAoC;GACpC,sCAAsC;GACtC,yCAAyC;GACzC,oCAAoC;GACpC,iCAAiC;GACjC,gCAAgC;GAChC,8BAA8B;GAC9B,uCAAuC;GACvC,0BAA0B;GAC1B,2BAA2B;GAC3B,8BAA8B;GAC9B,yBAAyB;GACzB,6BAA6B;GAC7B,qCAAqC;GACrC,+BAA+B;GAC/B,0CAA0C;GAC1C,wCAAwC;GACxC,mCAAmC;GACnC,0BAA0B;GAC1B,kCAAkC;GAClC,6BAA6B;GAC7B,8BAA8B;GAC9B,wCAAwC;GACxC,qCAAqC;GACrC,qCAAqC;GACrC,mDAAmD;GACnD,8BAA8B;GAC9B,sCAAsC;GACtC,yCAAyC;GACzC,2BAA2B;EAC7B;CACF,CChIE;AACF;AAGA,IAAA,cAAe,EAAE,QAAQ"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../src/base.ts","../src/recommended.ts","../src/index.ts"],"sourcesContent":["import { defineConfig } from 'oxlint';\n\nconst eslintConfig = defineConfig({\n overrides: [\n {\n files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],\n rules: {\n 'constructor-super': 'off',\n 'getter-return': 'off',\n 'no-class-assign': 'off',\n 'no-const-assign': 'off',\n 'no-dupe-class-members': 'off',\n 'no-dupe-keys': 'off',\n 'no-func-assign': 'off',\n 'no-import-assign': 'off',\n 'no-new-native-nonconstructor': 'off',\n 'no-obj-calls': 'off',\n 'no-setter-return': 'off',\n 'no-this-before-super': 'off',\n 'no-unreachable': 'off',\n 'no-unsafe-negation': 'off',\n 'no-var': 'error',\n 'no-with': 'off',\n 'prefer-const': 'error',\n 'prefer-rest-params': 'error',\n 'prefer-spread': 'error',\n },\n },\n ],\n plugins: ['eslint'],\n rules: {\n 'constructor-super': 'error',\n 'default-case-last': 'warn',\n 'default-param-last': 'warn',\n 'for-direction': 'error',\n 'getter-return': 'error',\n 'no-array-constructor': 'error',\n 'no-async-promise-executor': 'error',\n 'no-case-declarations': 'error',\n 'no-class-assign': 'error',\n 'no-compare-neg-zero': 'error',\n 'no-cond-assign': 'error',\n 'no-const-assign': 'error',\n 'no-constant-binary-expression': 'error',\n 'no-constant-condition': 'error',\n 'no-control-regex': 'error',\n 'no-debugger': 'error',\n 'no-delete-var': 'error',\n 'no-dupe-class-members': 'error',\n 'no-dupe-else-if': 'error',\n 'no-dupe-keys': 'error',\n 'no-duplicate-case': 'error',\n 'no-empty': 'error',\n 'no-empty-character-class': 'error',\n 'no-empty-function': 'error',\n 'no-empty-pattern': 'error',\n 'no-empty-static-block': 'error',\n 'no-ex-assign': 'error',\n 'no-extra-boolean-cast': 'error',\n 'no-fallthrough': 'error',\n 'no-func-assign': 'error',\n 'no-global-assign': 'error',\n 'no-import-assign': 'error',\n 'no-invalid-regexp': 'error',\n 'no-irregular-whitespace': 'error',\n 'no-loss-of-precision': 'error',\n 'no-misleading-character-class': 'error',\n 'no-new-native-nonconstructor': 'error',\n 'no-nonoctal-decimal-escape': 'error',\n 'no-obj-calls': 'error',\n 'no-prototype-builtins': 'error',\n 'no-redeclare': 'warn',\n 'no-regex-spaces': 'error',\n 'no-self-assign': 'error',\n 'no-setter-return': 'error',\n 'no-shadow': 'warn',\n 'no-shadow-restricted-names': 'error',\n 'no-sparse-arrays': 'error',\n 'no-this-before-super': 'error',\n 'no-unassigned-vars': 'error',\n 'no-unexpected-multiline': 'error',\n 'no-unreachable': 'error',\n 'no-unsafe-finally': 'error',\n 'no-unsafe-negation': 'error',\n 'no-unsafe-optional-chaining': 'error',\n 'no-unused-expressions': 'error',\n 'no-unused-labels': 'error',\n 'no-unused-private-class-members': 'error',\n 'no-unused-vars': [\n 'error',\n {\n args: 'all',\n argsIgnorePattern: '^_',\n caughtErrors: 'all',\n caughtErrorsIgnorePattern: '^_',\n destructuredArrayIgnorePattern: '^_',\n ignoreRestSiblings: true,\n varsIgnorePattern: '^_',\n },\n ],\n 'no-useless-backreference': 'error',\n 'no-useless-catch': 'error',\n 'no-useless-escape': 'error',\n 'no-with': 'error',\n 'prefer-arrow-callback': 'warn',\n 'preserve-caught-error': 'error',\n 'require-yield': 'error',\n 'use-isnan': 'error',\n 'valid-typeof': 'error',\n },\n});\n\nconst typescriptConfig = defineConfig({\n plugins: ['typescript'],\n rules: {\n 'typescript/array-type': [\n 'warn',\n {\n default: 'generic',\n readonly: 'generic',\n },\n ],\n 'typescript/ban-ts-comment': 'error',\n 'typescript/ban-tslint-comment': 'error',\n 'typescript/class-literal-property-style': 'error',\n 'typescript/consistent-generic-constructors': 'error',\n 'typescript/consistent-indexed-object-style': 'error',\n 'typescript/consistent-type-assertions': 'error',\n 'typescript/consistent-type-definitions': 'error',\n 'typescript/consistent-type-imports': [\n 'warn',\n {\n fixStyle: 'inline-type-imports',\n prefer: 'type-imports',\n },\n ],\n 'typescript/no-confusing-non-null-assertion': 'error',\n 'typescript/no-duplicate-enum-values': 'error',\n 'typescript/no-empty-object-type': 'error',\n 'typescript/no-explicit-any': 'error',\n 'typescript/no-extra-non-null-assertion': 'error',\n 'typescript/no-import-type-side-effects': 'warn',\n 'typescript/no-inferrable-types': 'error',\n 'typescript/no-misused-new': 'error',\n 'typescript/no-namespace': 'error',\n 'typescript/no-non-null-asserted-optional-chain': 'error',\n 'typescript/no-require-imports': 'error',\n 'typescript/no-this-alias': 'error',\n 'typescript/no-unnecessary-type-constraint': 'error',\n 'typescript/no-unsafe-declaration-merging': 'error',\n 'typescript/no-unsafe-function-type': 'error',\n 'typescript/no-wrapper-object-types': 'error',\n 'typescript/prefer-as-const': 'error',\n 'typescript/prefer-for-of': 'error',\n 'typescript/prefer-function-type': 'error',\n 'typescript/prefer-namespace-keyword': 'error',\n 'typescript/triple-slash-reference': 'error',\n },\n});\n\nconst sonarConfig = defineConfig({\n jsPlugins: ['eslint-plugin-sonarjs'],\n rules: {\n 'sonarjs/anchor-precedence': 'error',\n 'sonarjs/argument-type': 'error',\n 'sonarjs/arguments-order': 'error',\n 'sonarjs/array-callback-without-return': 'error',\n 'sonarjs/assertions-in-tests': 'error',\n 'sonarjs/async-test-assertions': 'error',\n 'sonarjs/aws-apigateway-public-api': 'error',\n 'sonarjs/aws-ec2-rds-dms-public': 'error',\n 'sonarjs/aws-ec2-unencrypted-ebs-volume': 'error',\n 'sonarjs/aws-efs-unencrypted': 'error',\n 'sonarjs/aws-iam-all-privileges': 'error',\n 'sonarjs/aws-iam-privilege-escalation': 'error',\n 'sonarjs/aws-iam-public-access': 'error',\n 'sonarjs/aws-opensearchservice-domain': 'error',\n 'sonarjs/aws-rds-unencrypted-databases': 'error',\n 'sonarjs/aws-restricted-ip-admin-access': 'error',\n 'sonarjs/aws-s3-bucket-granted-access': 'error',\n 'sonarjs/aws-s3-bucket-insecure-http': 'error',\n 'sonarjs/aws-s3-bucket-public-access': 'error',\n 'sonarjs/aws-s3-bucket-versioning': 'error',\n 'sonarjs/aws-sagemaker-unencrypted-notebook': 'error',\n 'sonarjs/aws-sns-unencrypted-topics': 'error',\n 'sonarjs/aws-sqs-unencrypted-queue': 'error',\n 'sonarjs/bitwise-operators': 'error',\n 'sonarjs/block-scoped-var': 'error',\n 'sonarjs/call-argument-line': 'error',\n 'sonarjs/chai-determinate-assertion': 'error',\n 'sonarjs/class-name': 'error',\n 'sonarjs/code-eval': 'error',\n 'sonarjs/cognitive-complexity': 'error',\n 'sonarjs/comma-or-logical-or-case': 'error',\n 'sonarjs/concise-regex': 'error',\n 'sonarjs/constructor-for-side-effects': 'error',\n 'sonarjs/content-length': 'error',\n 'sonarjs/content-security-policy': 'error',\n 'sonarjs/cookie-no-httponly': 'error',\n 'sonarjs/cors': 'error',\n 'sonarjs/csrf': 'error',\n 'sonarjs/deprecation': 'error',\n 'sonarjs/different-types-comparison': 'error',\n 'sonarjs/disabled-auto-escaping': 'error',\n 'sonarjs/disabled-resource-integrity': 'error',\n 'sonarjs/disabled-timeout': 'error',\n 'sonarjs/dompurify-unsafe-config': 'error',\n 'sonarjs/duplicates-in-character-class': 'error',\n 'sonarjs/dynamically-constructed-templates': 'error',\n 'sonarjs/empty-string-repetition': 'error',\n 'sonarjs/encryption-secure-mode': 'error',\n 'sonarjs/existing-groups': 'error',\n 'sonarjs/file-permissions': 'error',\n 'sonarjs/file-uploads': 'error',\n 'sonarjs/fixme-tag': 'error',\n 'sonarjs/for-loop-increment-sign': 'error',\n 'sonarjs/function-inside-loop': 'error',\n 'sonarjs/function-return-type': 'error',\n 'sonarjs/future-reserved-words': 'error',\n 'sonarjs/generator-without-yield': 'error',\n 'sonarjs/hardcoded-secret-signatures': 'error',\n 'sonarjs/hashing': 'error',\n 'sonarjs/hooks-before-test-cases': 'error',\n 'sonarjs/in-operator-type-error': 'error',\n 'sonarjs/inconsistent-function-call': 'error',\n 'sonarjs/index-of-compare-to-positive-number': 'error',\n 'sonarjs/insecure-cookie': 'error',\n 'sonarjs/insecure-jwt-token': 'error',\n 'sonarjs/inverted-assertion-arguments': 'error',\n 'sonarjs/jsx-no-leaked-render': 'error',\n 'sonarjs/label-position': 'error',\n 'sonarjs/link-with-target-blank': 'error',\n 'sonarjs/max-switch-cases': 'error',\n 'sonarjs/misplaced-loop-counter': 'error',\n 'sonarjs/new-operator-misuse': 'error',\n 'sonarjs/no-all-duplicated-branches': 'error',\n 'sonarjs/no-alphabetical-sort': 'error',\n 'sonarjs/no-angular-bypass-sanitization': 'error',\n 'sonarjs/no-array-delete': 'error',\n 'sonarjs/no-associative-arrays': 'error',\n 'sonarjs/no-async-constructor': 'error',\n 'sonarjs/no-case-label-in-switch': 'error',\n 'sonarjs/no-clear-text-protocols': 'error',\n 'sonarjs/no-code-after-done': 'error',\n 'sonarjs/no-collection-size-mischeck': 'error',\n 'sonarjs/no-control-regex': 'error',\n 'sonarjs/no-dead-store': 'error',\n 'sonarjs/no-delete-var': 'error',\n 'sonarjs/no-duplicate-in-composite': 'error',\n 'sonarjs/no-duplicate-test-title': 'error',\n 'sonarjs/no-duplicated-branches': 'error',\n 'sonarjs/no-element-overwrite': 'error',\n 'sonarjs/no-empty-after-reluctant': 'error',\n 'sonarjs/no-empty-alternatives': 'error',\n 'sonarjs/no-empty-character-class': 'error',\n 'sonarjs/no-empty-collection': 'error',\n 'sonarjs/no-empty-group': 'error',\n 'sonarjs/no-empty-test-file': 'error',\n 'sonarjs/no-empty-test-title': 'error',\n 'sonarjs/no-equals-in-for-termination': 'error',\n 'sonarjs/no-exclusive-tests': 'error',\n 'sonarjs/no-extra-arguments': 'error',\n 'sonarjs/no-fallthrough': 'error',\n 'sonarjs/no-floating-point-equality': 'error',\n 'sonarjs/no-forced-browser-interaction': 'error',\n 'sonarjs/no-global-this': 'error',\n 'sonarjs/no-globals-shadowing': 'error',\n 'sonarjs/no-gratuitous-expressions': 'error',\n 'sonarjs/no-hardcoded-ip': 'error',\n 'sonarjs/no-hardcoded-passwords': 'error',\n 'sonarjs/no-hardcoded-secrets': 'error',\n 'sonarjs/no-hook-setter-in-body': 'error',\n 'sonarjs/no-identical-conditions': 'error',\n 'sonarjs/no-identical-expressions': 'error',\n 'sonarjs/no-identical-functions': 'error',\n 'sonarjs/no-ignored-exceptions': 'error',\n 'sonarjs/no-ignored-return': 'error',\n 'sonarjs/no-implicit-global': 'error',\n 'sonarjs/no-in-misuse': 'error',\n 'sonarjs/no-incompatible-assertion-types': 'error',\n 'sonarjs/no-incomplete-assertions': 'error',\n 'sonarjs/no-internal-api-use': 'error',\n 'sonarjs/no-invalid-regexp': 'error',\n 'sonarjs/no-invariant-returns': 'error',\n 'sonarjs/no-inverted-boolean-check': 'error',\n 'sonarjs/no-labels': 'error',\n 'sonarjs/no-literal-call': 'error',\n 'sonarjs/no-mime-sniff': 'error',\n 'sonarjs/no-misleading-array-reverse': 'error',\n 'sonarjs/no-misleading-character-class': 'error',\n 'sonarjs/no-nested-assignment': 'error',\n 'sonarjs/no-nested-conditional': 'error',\n 'sonarjs/no-nested-functions': 'error',\n 'sonarjs/no-nested-template-literals': 'error',\n 'sonarjs/no-os-command-from-path': 'error',\n 'sonarjs/no-parameter-reassignment': 'error',\n 'sonarjs/no-primitive-wrappers': 'error',\n 'sonarjs/no-redundant-assignments': 'error',\n 'sonarjs/no-redundant-boolean': 'error',\n 'sonarjs/no-redundant-jump': 'error',\n 'sonarjs/no-redundant-optional': 'error',\n 'sonarjs/no-referrer-policy': 'error',\n 'sonarjs/no-regex-spaces': 'error',\n 'sonarjs/no-same-argument-assert': 'error',\n 'sonarjs/no-same-line-conditional': 'error',\n 'sonarjs/no-selector-parameter': 'error',\n 'sonarjs/no-session-cookies-on-static-assets': 'error',\n 'sonarjs/no-skipped-tests': 'error',\n 'sonarjs/no-small-switch': 'error',\n 'sonarjs/no-table-as-layout': 'error',\n 'sonarjs/no-trivial-assertions': 'error',\n 'sonarjs/no-try-promise': 'error',\n 'sonarjs/no-undefined-argument': 'error',\n 'sonarjs/no-unenclosed-multiline-block': 'error',\n 'sonarjs/no-uniq-key': 'error',\n 'sonarjs/no-unthrown-error': 'error',\n 'sonarjs/no-unused-collection': 'error',\n 'sonarjs/no-use-of-empty-return-value': 'error',\n 'sonarjs/no-useless-catch': 'error',\n 'sonarjs/no-useless-increment': 'error',\n 'sonarjs/no-useless-intersection': 'error',\n 'sonarjs/no-useless-react-setstate': 'error',\n 'sonarjs/no-weak-cipher': 'error',\n 'sonarjs/no-weak-keys': 'error',\n 'sonarjs/non-existent-operator': 'error',\n 'sonarjs/null-dereference': 'error',\n 'sonarjs/object-alt-content': 'error',\n 'sonarjs/post-message': 'error',\n 'sonarjs/prefer-default-last': 'error',\n 'sonarjs/prefer-promise-shorthand': 'error',\n 'sonarjs/prefer-regexp-exec': 'error',\n 'sonarjs/prefer-single-boolean-return': 'error',\n 'sonarjs/prefer-specific-assertions': 'error',\n 'sonarjs/prefer-type-guard': 'error',\n 'sonarjs/prefer-while': 'error',\n 'sonarjs/production-debug': 'error',\n 'sonarjs/pseudo-random': 'error',\n 'sonarjs/public-static-readonly': 'error',\n 'sonarjs/publicly-writable-directories': 'error',\n 'sonarjs/reduce-initial-value': 'error',\n 'sonarjs/redundant-type-aliases': 'error',\n 'sonarjs/regex-complexity': 'error',\n 'sonarjs/review-blockchain-mnemonic': 'error',\n 'sonarjs/session-regeneration': 'error',\n 'sonarjs/single-char-in-character-classes': 'error',\n 'sonarjs/single-character-alternation': 'error',\n 'sonarjs/slow-regex': 'error',\n 'sonarjs/sql-queries': 'error',\n 'sonarjs/stable-tests': 'error',\n 'sonarjs/stateful-regex': 'error',\n 'sonarjs/strict-transport-security': 'error',\n 'sonarjs/super-linear-regex': 'error',\n 'sonarjs/table-header': 'error',\n 'sonarjs/table-header-reference': 'error',\n 'sonarjs/test-check-exception': 'error',\n 'sonarjs/unused-import': 'error',\n 'sonarjs/unused-named-groups': 'error',\n 'sonarjs/unverified-certificate': 'error',\n 'sonarjs/unverified-hostname': 'error',\n 'sonarjs/updated-const-var': 'error',\n 'sonarjs/updated-loop-counter': 'error',\n 'sonarjs/use-type-alias': 'error',\n 'sonarjs/weak-ssl': 'error',\n 'sonarjs/x-powered-by': 'error',\n 'sonarjs/xml-parser-xxe': 'error',\n },\n});\n\nconst genericPerfectionistSortRules = [\n 'perfectionist/sort-array-includes',\n 'perfectionist/sort-classes',\n 'perfectionist/sort-decorators',\n 'perfectionist/sort-enums',\n 'perfectionist/sort-export-attributes',\n 'perfectionist/sort-exports',\n 'perfectionist/sort-heritage-clauses',\n 'perfectionist/sort-import-attributes',\n 'perfectionist/sort-interfaces',\n 'perfectionist/sort-intersection-types',\n 'perfectionist/sort-jsx-props',\n 'perfectionist/sort-maps',\n 'perfectionist/sort-modules',\n 'perfectionist/sort-named-exports',\n 'perfectionist/sort-named-imports',\n 'perfectionist/sort-object-types',\n 'perfectionist/sort-objects',\n 'perfectionist/sort-sets',\n 'perfectionist/sort-switch-case',\n 'perfectionist/sort-union-types',\n 'perfectionist/sort-variable-declarations',\n] as const;\n\nconst genericSortRulesWithoutPartition = new Set<(typeof genericPerfectionistSortRules)[number]>([\n 'perfectionist/sort-jsx-props',\n 'perfectionist/sort-switch-case',\n]);\n\nconst perfectionistConfig = defineConfig({\n jsPlugins: ['eslint-plugin-perfectionist'],\n rules: {\n //Set up a specific import order that we generally want to adhere to.\n //This makes it easier to recognize where an import is coming from.\n 'perfectionist/sort-imports': [\n 'warn',\n {\n groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'unknown'],\n ignoreCase: true,\n newlinesBetween: 0,\n order: 'asc',\n partitionByComment: true,\n type: 'natural',\n },\n ],\n //Extend the default recommended rules to include comment partioning to allow for comments being used for explanatory purposes.\n ...Object.fromEntries(\n genericPerfectionistSortRules.map((rule) => [\n rule,\n [\n 'error',\n genericSortRulesWithoutPartition.has(rule)\n ? {\n type: 'natural',\n }\n : { partitionByComment: true, type: 'natural' },\n ],\n ]),\n ),\n //Turning this rule off as recommended in the perfectionist documention as it is handled by perfectionist in the following rules:\n //sort-interfaces: https://perfectionist.dev/rules/sort-interfaces\n //sort-objects: https://perfectionist.dev/rules/sort-object-types\n '@typescript-eslint/adjacent-overload-signatures': 'off',\n },\n});\n\nconst importConfig = defineConfig({\n plugins: ['import'],\n rules: {\n 'import/consistent-type-specifier-style': ['warn', 'prefer-top-level'],\n 'import/default': 'error',\n 'import/namespace': 'error',\n 'import/no-duplicates': 'warn',\n 'import/no-named-as-default': 'warn',\n 'import/no-named-as-default-member': 'warn',\n },\n});\n\nconst demorganConfig = defineConfig({\n jsPlugins: ['eslint-plugin-de-morgan'],\n rules: {\n 'de-morgan/no-negated-conjunction': 'error',\n 'de-morgan/no-negated-disjunction': 'error',\n },\n});\n\nconst dependConfig = defineConfig({\n jsPlugins: ['eslint-plugin-depend'],\n rules: {\n 'depend/ban-dependencies': 'error',\n },\n});\n\nexport const base = defineConfig({\n categories: {\n correctness: 'off',\n },\n env: {\n browser: true,\n builtin: true,\n es2024: true,\n node: true,\n },\n extends: [\n eslintConfig,\n typescriptConfig,\n sonarConfig,\n perfectionistConfig,\n importConfig,\n demorganConfig,\n dependConfig,\n ],\n options: {\n //typeAware: true,\n },\n});\n","import { defineConfig } from 'oxlint';\nimport { base } from './base';\n\nexport const recommended = defineConfig({\n extends: [base],\n plugins: ['unicorn'],\n rules: {\n 'unicorn/catch-error-name': 'error',\n 'unicorn/consistent-assert': 'error',\n 'unicorn/consistent-date-clone': 'error',\n 'unicorn/consistent-empty-array-spread': 'error',\n 'unicorn/consistent-existence-index-check': 'error',\n 'unicorn/consistent-function-scoping': 'error',\n 'unicorn/consistent-template-literal-escape': 'error',\n 'unicorn/empty-brace-spaces': 'error',\n 'unicorn/error-message': 'error',\n 'unicorn/escape-case': 'error',\n 'unicorn/explicit-length-check': 'error',\n 'unicorn/filename-case': 'error',\n 'unicorn/import-style': 'error',\n 'unicorn/max-nested-calls': 'error',\n 'unicorn/new-for-builtins': 'error',\n 'unicorn/no-abusive-eslint-disable': 'error',\n 'unicorn/no-accessor-recursion': 'error',\n 'unicorn/no-anonymous-default-export': 'error',\n 'unicorn/no-array-callback-reference': 'error',\n 'unicorn/no-array-fill-with-reference-type': 'error',\n 'unicorn/no-array-method-this-argument': 'error',\n 'unicorn/no-array-reduce': 'error',\n 'unicorn/no-array-reverse': 'error',\n 'unicorn/no-array-sort': 'error',\n 'unicorn/no-await-expression-member': 'error',\n 'unicorn/no-await-in-promise-methods': 'error',\n 'unicorn/no-console-spaces': 'error',\n 'unicorn/no-document-cookie': 'error',\n 'unicorn/no-empty-file': 'error',\n 'unicorn/no-immediate-mutation': 'error',\n 'unicorn/no-instanceof-builtins': 'error',\n 'unicorn/no-invalid-fetch-options': 'error',\n 'unicorn/no-invalid-remove-event-listener': 'error',\n 'unicorn/no-lonely-if': 'error',\n 'unicorn/no-magic-array-flat-depth': 'error',\n 'unicorn/no-negated-condition': 'error',\n 'unicorn/no-negation-in-equality-check': 'error',\n 'unicorn/no-nested-ternary': 'error',\n 'unicorn/no-new-array': 'error',\n 'unicorn/no-new-buffer': 'error',\n 'unicorn/no-null': 'error',\n 'unicorn/no-object-as-default-parameter': 'error',\n 'unicorn/no-process-exit': 'error',\n 'unicorn/no-single-promise-in-promise-methods': 'error',\n 'unicorn/no-static-only-class': 'error',\n 'unicorn/no-thenable': 'error',\n 'unicorn/no-this-assignment': 'error',\n 'unicorn/no-typeof-undefined': 'error',\n 'unicorn/no-unnecessary-array-flat-depth': 'error',\n 'unicorn/no-unnecessary-array-splice-count': 'error',\n 'unicorn/no-unnecessary-await': 'error',\n 'unicorn/no-unnecessary-slice-end': 'error',\n 'unicorn/no-unreadable-array-destructuring': 'error',\n 'unicorn/no-unreadable-iife': 'error',\n 'unicorn/no-useless-collection-argument': 'error',\n 'unicorn/no-useless-error-capture-stack-trace': 'error',\n 'unicorn/no-useless-fallback-in-spread': 'error',\n 'unicorn/no-useless-length-check': 'error',\n 'unicorn/no-useless-promise-resolve-reject': 'error',\n 'unicorn/no-useless-spread': 'error',\n 'unicorn/no-useless-switch-case': 'error',\n 'unicorn/no-useless-undefined': 'error',\n 'unicorn/no-zero-fractions': 'error',\n 'unicorn/number-literal-case': 'error',\n 'unicorn/numeric-separators-style': 'error',\n 'unicorn/prefer-add-event-listener': 'error',\n 'unicorn/prefer-array-find': 'error',\n 'unicorn/prefer-array-flat': 'error',\n 'unicorn/prefer-array-flat-map': 'error',\n 'unicorn/prefer-array-index-of': 'error',\n 'unicorn/prefer-array-some': 'error',\n 'unicorn/prefer-at': 'error',\n 'unicorn/prefer-bigint-literals': 'error',\n 'unicorn/prefer-blob-reading-methods': 'error',\n 'unicorn/prefer-class-fields': 'error',\n 'unicorn/prefer-classlist-toggle': 'error',\n 'unicorn/prefer-code-point': 'error',\n 'unicorn/prefer-date-now': 'error',\n 'unicorn/prefer-default-parameters': 'error',\n 'unicorn/prefer-dom-node-append': 'error',\n 'unicorn/prefer-dom-node-remove': 'error',\n 'unicorn/prefer-dom-node-text-content': 'error',\n 'unicorn/prefer-event-target': 'error',\n 'unicorn/prefer-export-from': 'error',\n 'unicorn/prefer-global-this': 'error',\n 'unicorn/prefer-includes': 'error',\n 'unicorn/prefer-keyboard-event-key': 'error',\n 'unicorn/prefer-logical-operator-over-ternary': 'error',\n 'unicorn/prefer-math-min-max': 'error',\n 'unicorn/prefer-math-trunc': 'error',\n 'unicorn/prefer-modern-dom-apis': 'error',\n 'unicorn/prefer-modern-math-apis': 'error',\n 'unicorn/prefer-module': 'error',\n 'unicorn/prefer-native-coercion-functions': 'error',\n 'unicorn/prefer-negative-index': 'error',\n 'unicorn/prefer-node-protocol': 'error',\n 'unicorn/prefer-number-coercion': 'error',\n 'unicorn/prefer-number-properties': 'error',\n 'unicorn/prefer-object-from-entries': 'error',\n 'unicorn/prefer-optional-catch-binding': 'error',\n 'unicorn/prefer-prototype-methods': 'error',\n 'unicorn/prefer-query-selector': 'error',\n 'unicorn/prefer-reflect-apply': 'error',\n 'unicorn/prefer-regexp-test': 'error',\n 'unicorn/prefer-response-static-json': 'error',\n 'unicorn/prefer-set-has': 'error',\n 'unicorn/prefer-set-size': 'error',\n 'unicorn/prefer-single-call': 'error',\n 'unicorn/prefer-spread': 'error',\n 'unicorn/prefer-string-raw': 'error',\n 'unicorn/prefer-string-replace-all': 'error',\n 'unicorn/prefer-string-slice': 'error',\n 'unicorn/prefer-string-starts-ends-with': 'error',\n 'unicorn/prefer-string-trim-start-end': 'error',\n 'unicorn/prefer-structured-clone': 'error',\n 'unicorn/prefer-ternary': 'error',\n 'unicorn/prefer-top-level-await': 'error',\n 'unicorn/prefer-type-error': 'error',\n 'unicorn/relative-url-style': 'error',\n 'unicorn/require-array-join-separator': 'error',\n 'unicorn/require-module-attributes': 'error',\n 'unicorn/require-module-specifiers': 'error',\n 'unicorn/require-number-to-fixed-digits-argument': 'error',\n 'unicorn/switch-case-braces': 'error',\n 'unicorn/switch-case-break-position': 'error',\n 'unicorn/text-encoding-identifier-case': 'error',\n 'unicorn/throw-new-error': 'error',\n },\n});\n","import type { OxlintConfig } from 'oxlint';\nimport { base } from './base';\nimport { recommended } from './recommended';\n\ntype ConfigTypes = 'base' | 'recommended';\n\nconst configs: Record<ConfigTypes, OxlintConfig> = {\n base,\n recommended,\n};\n\nexport { configs };\nexport default { configs };\n"],"mappings":";;AAEA,MAAM,eAAe,aAAa;CAChC,WAAW,CACT;EACE,OAAO;GAAC;GAAW;GAAY;GAAY;EAAU;EACrD,OAAO;GACL,qBAAqB;GACrB,iBAAiB;GACjB,mBAAmB;GACnB,mBAAmB;GACnB,yBAAyB;GACzB,gBAAgB;GAChB,kBAAkB;GAClB,oBAAoB;GACpB,gCAAgC;GAChC,gBAAgB;GAChB,oBAAoB;GACpB,wBAAwB;GACxB,kBAAkB;GAClB,sBAAsB;GACtB,UAAU;GACV,WAAW;GACX,gBAAgB;GAChB,sBAAsB;GACtB,iBAAiB;EACnB;CACF,CACF;CACA,SAAS,CAAC,QAAQ;CAClB,OAAO;EACL,qBAAqB;EACrB,qBAAqB;EACrB,sBAAsB;EACtB,iBAAiB;EACjB,iBAAiB;EACjB,wBAAwB;EACxB,6BAA6B;EAC7B,wBAAwB;EACxB,mBAAmB;EACnB,uBAAuB;EACvB,kBAAkB;EAClB,mBAAmB;EACnB,iCAAiC;EACjC,yBAAyB;EACzB,oBAAoB;EACpB,eAAe;EACf,iBAAiB;EACjB,yBAAyB;EACzB,mBAAmB;EACnB,gBAAgB;EAChB,qBAAqB;EACrB,YAAY;EACZ,4BAA4B;EAC5B,qBAAqB;EACrB,oBAAoB;EACpB,yBAAyB;EACzB,gBAAgB;EAChB,yBAAyB;EACzB,kBAAkB;EAClB,kBAAkB;EAClB,oBAAoB;EACpB,oBAAoB;EACpB,qBAAqB;EACrB,2BAA2B;EAC3B,wBAAwB;EACxB,iCAAiC;EACjC,gCAAg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B,sCAAsC;GACtC,yCAAyC;GACzC,2BAA2B;EAC7B;CACF,CC/HE;AACF;AAGA,IAAA,cAAe,EAAE,QAAQ"}
|
package/package.json
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@putstack/oxlint-config",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"author": "Putro",
|
|
6
|
-
"description": "Oxlint config for TypeScript",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/Pewtro/configs.git",
|
|
10
|
-
"directory": "packages/oxlint-config"
|
|
11
|
-
},
|
|
12
|
-
"type": "module",
|
|
13
|
-
"module": "./dist/index.js",
|
|
14
|
-
"types": "./dist/index.d.ts",
|
|
15
|
-
"exports": {
|
|
16
|
-
"types": "./dist/index.d.ts",
|
|
17
|
-
"default": "./dist/index.js"
|
|
18
|
-
},
|
|
19
|
-
"engines": {
|
|
20
|
-
"node": "^22 || ^24 || >=26"
|
|
21
|
-
},
|
|
22
|
-
"files": [
|
|
23
|
-
"dist"
|
|
24
|
-
],
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"eslint-plugin-
|
|
36
|
-
"eslint-plugin-
|
|
37
|
-
"eslint-plugin-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@putstack/oxlint-config",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "Putro",
|
|
6
|
+
"description": "Oxlint config for TypeScript",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Pewtro/configs.git",
|
|
10
|
+
"directory": "packages/oxlint-config"
|
|
11
|
+
},
|
|
12
|
+
"type": "module",
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": "^22 || ^24 || >=26"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"keywords": [
|
|
27
|
+
"typescript",
|
|
28
|
+
"oxlint",
|
|
29
|
+
"config",
|
|
30
|
+
"oxlintconfig",
|
|
31
|
+
"putro",
|
|
32
|
+
"putstack"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"eslint-plugin-de-morgan": "2.1.3",
|
|
36
|
+
"eslint-plugin-depend": "1.5.0",
|
|
37
|
+
"eslint-plugin-perfectionist": "5.10.1",
|
|
38
|
+
"eslint-plugin-sonarjs": "4.2.0"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"oxlint": "^1.71.0",
|
|
42
|
+
"typescript": "^6"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown"
|
|
46
|
+
}
|
|
47
|
+
}
|