mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
test(oxlint): remove "--print-config" test (#8792)
it is only removing one test. This test is removed because of: https://github.com/oxc-project/oxc/pull/8789#discussion_r1935775539 Boshen thought too that this should be a problem in the future. I did not believe him :/ Merging without review
This commit is contained in:
parent
6c627dfb98
commit
6f4a0234ca
2 changed files with 0 additions and 152 deletions
|
|
@ -732,10 +732,4 @@ mod test {
|
|||
.with_cwd("fixtures/eslint_and_typescript_alias_rules".into())
|
||||
.test_and_snapshot_multiple(&[args_1, args_2]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_print_config() {
|
||||
let args = &["--print-config"];
|
||||
Tester::new().test_and_snapshot(args);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,146 +0,0 @@
|
|||
---
|
||||
source: apps/oxlint/src/tester.rs
|
||||
---
|
||||
##########
|
||||
arguments: --print-config
|
||||
working directory:
|
||||
----------
|
||||
{
|
||||
"plugins": [
|
||||
"react",
|
||||
"unicorn",
|
||||
"typescript",
|
||||
"oxc"
|
||||
],
|
||||
"categories": {},
|
||||
"rules": {
|
||||
"oxc/only-used-in-recursion": "warn",
|
||||
"oxc/bad-object-literal-comparison": "warn",
|
||||
"react/jsx-key": "warn",
|
||||
"no-control-regex": "warn",
|
||||
"no-with": "warn",
|
||||
"typescript/no-non-null-asserted-optional-chain": "warn",
|
||||
"typescript/no-this-alias": "warn",
|
||||
"oxc/double-comparisons": "warn",
|
||||
"no-import-assign": "warn",
|
||||
"for-direction": "warn",
|
||||
"oxc/missing-throw": "warn",
|
||||
"no-unsafe-negation": "warn",
|
||||
"no-dupe-keys": "warn",
|
||||
"no-irregular-whitespace": "warn",
|
||||
"react/no-children-prop": "warn",
|
||||
"typescript/no-wrapper-object-types": "warn",
|
||||
"no-unused-labels": "warn",
|
||||
"no-empty-character-class": "warn",
|
||||
"require-yield": "warn",
|
||||
"no-loss-of-precision": "warn",
|
||||
"react/no-direct-mutation-state": "warn",
|
||||
"unicorn/no-single-promise-in-promise-methods": "warn",
|
||||
"no-cond-assign": "warn",
|
||||
"no-useless-catch": "warn",
|
||||
"no-empty-static-block": "warn",
|
||||
"react/no-render-return-value": "warn",
|
||||
"no-sparse-arrays": "warn",
|
||||
"no-constant-binary-expression": "warn",
|
||||
"no-useless-escape": "warn",
|
||||
"use-isnan": "warn",
|
||||
"oxc/number-arg-out-of-range": "warn",
|
||||
"oxc/bad-min-max-func": "warn",
|
||||
"no-this-before-super": "warn",
|
||||
"react/jsx-no-duplicate-props": "warn",
|
||||
"no-extra-boolean-cast": "warn",
|
||||
"no-obj-calls": "warn",
|
||||
"oxc/const-comparisons": "warn",
|
||||
"unicorn/no-useless-length-check": "warn",
|
||||
"no-delete-var": "warn",
|
||||
"react/jsx-no-undef": "warn",
|
||||
"no-global-assign": "warn",
|
||||
"typescript/no-unsafe-declaration-merging": "warn",
|
||||
"no-async-promise-executor": "warn",
|
||||
"no-unsafe-finally": "warn",
|
||||
"no-dupe-else-if": "warn",
|
||||
"typescript/no-duplicate-enum-values": "warn",
|
||||
"no-invalid-regexp": "warn",
|
||||
"unicorn/prefer-string-starts-ends-with": "warn",
|
||||
"no-caller": "warn",
|
||||
"no-self-assign": "warn",
|
||||
"no-compare-neg-zero": "warn",
|
||||
"no-unused-vars": "warn",
|
||||
"no-empty-pattern": "warn",
|
||||
"react/no-is-mounted": "warn",
|
||||
"oxc/bad-array-method-on-arguments": "warn",
|
||||
"unicorn/no-await-in-promise-methods": "warn",
|
||||
"no-shadow-restricted-names": "warn",
|
||||
"no-const-assign": "warn",
|
||||
"unicorn/no-thenable": "warn",
|
||||
"typescript/triple-slash-reference": "warn",
|
||||
"react/no-string-refs": "warn",
|
||||
"no-new-native-nonconstructor": "warn",
|
||||
"oxc/bad-comparison-sequence": "warn",
|
||||
"oxc/uninvoked-array-callback": "warn",
|
||||
"unicorn/no-empty-file": "warn",
|
||||
"unicorn/no-unnecessary-await": "warn",
|
||||
"no-nonoctal-decimal-escape": "warn",
|
||||
"oxc/bad-replace-all-arg": "warn",
|
||||
"unicorn/no-invalid-remove-event-listener": "warn",
|
||||
"no-debugger": "warn",
|
||||
"react/jsx-no-target-blank": "warn",
|
||||
"no-func-assign": "warn",
|
||||
"unicorn/no-useless-fallback-in-spread": "warn",
|
||||
"oxc/erasing-op": "warn",
|
||||
"unicorn/prefer-set-size": "warn",
|
||||
"unicorn/no-useless-spread": "warn",
|
||||
"no-dupe-class-members": "warn",
|
||||
"react/jsx-props-no-spread-multi": "warn",
|
||||
"typescript/no-useless-empty-export": "warn",
|
||||
"react/void-dom-elements-no-children": "warn",
|
||||
"unicorn/no-new-array": "warn",
|
||||
"no-unsafe-optional-chaining": "warn",
|
||||
"no-duplicate-case": "warn",
|
||||
"react/no-danger-with-children": "warn",
|
||||
"typescript/prefer-as-const": "warn",
|
||||
"no-class-assign": "warn",
|
||||
"no-unused-private-class-members": "warn",
|
||||
"typescript/no-extra-non-null-assertion": "warn",
|
||||
"react/no-find-dom-node": "warn",
|
||||
"no-setter-return": "warn",
|
||||
"typescript/no-misused-new": "warn",
|
||||
"unicorn/no-document-cookie": "warn",
|
||||
"oxc/bad-char-at-comparison": "warn",
|
||||
"no-constant-condition": "warn",
|
||||
"no-useless-rename": "warn",
|
||||
"no-ex-assign": "warn",
|
||||
"valid-typeof": "warn"
|
||||
},
|
||||
"settings": {
|
||||
"jsx-a11y": {
|
||||
"polymorphicPropName": null,
|
||||
"components": {}
|
||||
},
|
||||
"next": {
|
||||
"rootDir": []
|
||||
},
|
||||
"react": {
|
||||
"formComponents": [],
|
||||
"linkComponents": []
|
||||
},
|
||||
"jsdoc": {
|
||||
"ignorePrivate": false,
|
||||
"ignoreInternal": false,
|
||||
"ignoreReplacesDocs": true,
|
||||
"overrideReplacesDocs": true,
|
||||
"augmentsExtendsReplacesDocs": false,
|
||||
"implementsReplacesDocs": false,
|
||||
"exemptDestructuredRootsFromChecks": false,
|
||||
"tagNamePreference": {}
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
"builtin": true
|
||||
},
|
||||
"globals": {},
|
||||
"ignorePatterns": []
|
||||
}
|
||||
----------
|
||||
CLI result: PrintConfigResult
|
||||
----------
|
||||
Loading…
Reference in a new issue