lintmax 0.1.100 → 0.1.102
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/dist/cli.mjs +2 -0
- package/oxlintrc.json +1 -0
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -1936,6 +1936,7 @@ const createCheckSteps = ({ biomeBin, dir, eslintArgs, eslintBin, oxlintBin, oxl
|
|
|
1936
1936
|
});
|
|
1937
1937
|
return steps;
|
|
1938
1938
|
};
|
|
1939
|
+
const DESTRUCTIVE_FIX_OVERRIDES = ["--rule", "{\"@eslint-react/no-missing-context-display-name\":\"off\"}"];
|
|
1939
1940
|
const createFixSteps = ({ biomeBin, dir, eslintArgs, eslintBin, hasFlowmark, oxlintBin, oxlintIgnorePatterns, prettierBin, prettierMarkdownTargets, sortPkgJson }) => {
|
|
1940
1941
|
const oxlintCliAllow = [...OXLINT_CLI_ALLOW.flatMap((r) => ["--allow", r]), ...oxlintIgnorePatterns.flatMap((p) => ["--ignore-pattern", p])];
|
|
1941
1942
|
const steps = [
|
|
@@ -1979,6 +1980,7 @@ const createFixSteps = ({ biomeBin, dir, eslintArgs, eslintBin, hasFlowmark, oxl
|
|
|
1979
1980
|
args: [
|
|
1980
1981
|
eslintBin,
|
|
1981
1982
|
...eslintArgs,
|
|
1983
|
+
...DESTRUCTIVE_FIX_OVERRIDES,
|
|
1982
1984
|
"--fix"
|
|
1983
1985
|
],
|
|
1984
1986
|
label: "eslint",
|
package/oxlintrc.json
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"import/group-exports": "off",
|
|
33
33
|
"import/max-dependencies": "off",
|
|
34
34
|
"import/no-default-export": "off",
|
|
35
|
+
"import/newline-after-import": "off",
|
|
35
36
|
"import/no-named-export": "off",
|
|
36
37
|
"import/no-unassigned-import": "off",
|
|
37
38
|
"import/no-nodejs-modules": "off",
|