lintmax 0.1.15
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.
Potentially problematic release.
This version of lintmax might be problematic. Click here for more details.
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +1569 -0
- package/dist/constants-Cjkf4mJh.mjs +105 -0
- package/dist/eslint.d.mts +9 -0
- package/dist/eslint.mjs +344 -0
- package/dist/ignores-BzTRqd-5.mjs +102 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.mjs +2 -0
- package/dist/lintmax-types-CJ7VY33l.d.mts +69 -0
- package/dist/path-Cu_Nf2ct.mjs +168 -0
- package/dist/src-C8jQ6tK0.mjs +784 -0
- package/oxlintrc.json +104 -0
- package/package.json +83 -0
- package/tsconfig.json +27 -0
package/oxlintrc.json
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/nicolo-ribaudo/oxc-configuration-schema/refs/heads/main/schema.json",
|
|
3
|
+
"categories": {
|
|
4
|
+
"correctness": "error",
|
|
5
|
+
"nursery": "error",
|
|
6
|
+
"pedantic": "error",
|
|
7
|
+
"perf": "error",
|
|
8
|
+
"restriction": "error",
|
|
9
|
+
"style": "error",
|
|
10
|
+
"suspicious": "error"
|
|
11
|
+
},
|
|
12
|
+
"plugins": [
|
|
13
|
+
"eslint",
|
|
14
|
+
"import",
|
|
15
|
+
"jest",
|
|
16
|
+
"jsdoc",
|
|
17
|
+
"jsx-a11y",
|
|
18
|
+
"nextjs",
|
|
19
|
+
"node",
|
|
20
|
+
"oxc",
|
|
21
|
+
"promise",
|
|
22
|
+
"react",
|
|
23
|
+
"react-perf",
|
|
24
|
+
"typescript",
|
|
25
|
+
"unicorn",
|
|
26
|
+
"vitest"
|
|
27
|
+
],
|
|
28
|
+
"rules": {
|
|
29
|
+
"capitalized-comments": [
|
|
30
|
+
"error",
|
|
31
|
+
"always",
|
|
32
|
+
{
|
|
33
|
+
"ignorePattern": "oxlint|biome|console|let|const|return|if|for|throw"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"curly": "off",
|
|
37
|
+
"id-length": "off",
|
|
38
|
+
"import/group-exports": "off",
|
|
39
|
+
"import/max-dependencies": "off",
|
|
40
|
+
"import/no-default-export": "off",
|
|
41
|
+
"import/no-named-export": "off",
|
|
42
|
+
"import/no-unassigned-import": "off",
|
|
43
|
+
"import/no-nodejs-modules": "off",
|
|
44
|
+
"import/no-relative-parent-imports": "off",
|
|
45
|
+
"import/prefer-default-export": "off",
|
|
46
|
+
"import/unambiguous": "off",
|
|
47
|
+
"init-declarations": "off",
|
|
48
|
+
"jest/no-conditional-in-test": "off",
|
|
49
|
+
"jest/prefer-each": "off",
|
|
50
|
+
"jest/require-hook": "off",
|
|
51
|
+
"jsdoc/require-param": "off",
|
|
52
|
+
"jsdoc/require-param-type": "off",
|
|
53
|
+
"jsdoc/require-returns": "off",
|
|
54
|
+
"jsdoc/require-returns-type": "off",
|
|
55
|
+
"max-lines": "off",
|
|
56
|
+
"max-lines-per-function": "off",
|
|
57
|
+
"max-statements": "off",
|
|
58
|
+
"new-cap": "off",
|
|
59
|
+
"no-console": "off",
|
|
60
|
+
"no-continue": "off",
|
|
61
|
+
"no-duplicate-imports": "off",
|
|
62
|
+
"no-magic-numbers": "off",
|
|
63
|
+
"no-nested-ternary": "off",
|
|
64
|
+
"prefer-destructuring": "off",
|
|
65
|
+
"no-ternary": "off",
|
|
66
|
+
"no-undef": "off",
|
|
67
|
+
"no-undefined": "off",
|
|
68
|
+
"node/no-process-env": "off",
|
|
69
|
+
"oxc/no-async-await": "off",
|
|
70
|
+
"promise/avoid-new": "off",
|
|
71
|
+
"oxc/no-optional-chaining": "off",
|
|
72
|
+
"oxc/no-rest-spread-properties": "off",
|
|
73
|
+
"react-perf/jsx-no-new-function-as-prop": "off",
|
|
74
|
+
"react/jsx-filename-extension": [
|
|
75
|
+
"error",
|
|
76
|
+
{
|
|
77
|
+
"extensions": [".tsx"]
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"react/jsx-max-depth": "off",
|
|
81
|
+
"react/jsx-props-no-spreading": "off",
|
|
82
|
+
"react/no-multi-comp": "off",
|
|
83
|
+
"react/only-export-components": "off",
|
|
84
|
+
"react/react-in-jsx-scope": "off",
|
|
85
|
+
"require-await": "off",
|
|
86
|
+
"sort-imports": "off",
|
|
87
|
+
"sort-vars": "off",
|
|
88
|
+
"typescript/explicit-function-return-type": "off",
|
|
89
|
+
"typescript/explicit-module-boundary-types": "off",
|
|
90
|
+
"unicorn/filename-case": [
|
|
91
|
+
"error",
|
|
92
|
+
{
|
|
93
|
+
"case": "kebabCase"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"unicorn/no-array-callback-reference": "off",
|
|
97
|
+
"unicorn/no-useless-undefined": "off",
|
|
98
|
+
"unicorn/no-nested-ternary": "off",
|
|
99
|
+
"unicorn/no-null": "off",
|
|
100
|
+
"unicorn/prefer-global-this": "off",
|
|
101
|
+
"unicorn/switch-case-braces": ["error", "avoid"],
|
|
102
|
+
"vitest/prefer-importing-vitest-globals": "off"
|
|
103
|
+
}
|
|
104
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lintmax",
|
|
3
|
+
"version": "0.1.15",
|
|
4
|
+
"description": "The #1 anti AI slop typescript tooling. Designed for coding agents, not humans.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"agent",
|
|
7
|
+
"ai",
|
|
8
|
+
"anti-slop",
|
|
9
|
+
"biome",
|
|
10
|
+
"claude",
|
|
11
|
+
"code-quality",
|
|
12
|
+
"coding-agent",
|
|
13
|
+
"cursor",
|
|
14
|
+
"eslint",
|
|
15
|
+
"formatter",
|
|
16
|
+
"lint",
|
|
17
|
+
"linter",
|
|
18
|
+
"llm",
|
|
19
|
+
"oxlint",
|
|
20
|
+
"prettier",
|
|
21
|
+
"typescript"
|
|
22
|
+
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/1qh/lintmax"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"author": "1qh",
|
|
29
|
+
"type": "module",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.mts",
|
|
33
|
+
"import": "./dist/index.mjs"
|
|
34
|
+
},
|
|
35
|
+
"./eslint": {
|
|
36
|
+
"types": "./dist/eslint.d.mts",
|
|
37
|
+
"import": "./dist/eslint.mjs"
|
|
38
|
+
},
|
|
39
|
+
"./tsconfig": "./tsconfig.json",
|
|
40
|
+
"./tsconfig.json": "./tsconfig.json"
|
|
41
|
+
},
|
|
42
|
+
"bin": {
|
|
43
|
+
"lintmax": "dist/cli.mjs"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist",
|
|
47
|
+
"tsconfig.json",
|
|
48
|
+
"oxlintrc.json"
|
|
49
|
+
],
|
|
50
|
+
"scripts": {
|
|
51
|
+
"build": "tsdown",
|
|
52
|
+
"check": "bun dist/cli.mjs check",
|
|
53
|
+
"cleanup-old-versions": "bun script/cleanup-old-versions.ts",
|
|
54
|
+
"fix": "bun dist/cli.mjs fix",
|
|
55
|
+
"postpublish": "bun run cleanup-old-versions",
|
|
56
|
+
"release": "bun publish",
|
|
57
|
+
"release:dry": "bun publish --dry-run",
|
|
58
|
+
"smoke": "bun script/smoke.ts",
|
|
59
|
+
"test": "bun script/test-magic.ts && bun script/test-coverage.ts"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@biomejs/biome": "latest",
|
|
63
|
+
"@eslint-react/eslint-plugin": "^2",
|
|
64
|
+
"@eslint/compat": "latest",
|
|
65
|
+
"@eslint/js": "latest",
|
|
66
|
+
"@next/eslint-plugin-next": "latest",
|
|
67
|
+
"@types/bun": "latest",
|
|
68
|
+
"@types/react": "latest",
|
|
69
|
+
"@types/react-dom": "latest",
|
|
70
|
+
"eslint": "^9",
|
|
71
|
+
"eslint-plugin-better-tailwindcss": "latest",
|
|
72
|
+
"eslint-plugin-perfectionist": "latest",
|
|
73
|
+
"eslint-plugin-prefer-arrow-functions": "latest",
|
|
74
|
+
"eslint-plugin-react": "latest",
|
|
75
|
+
"eslint-plugin-react-hooks": "latest",
|
|
76
|
+
"eslint-plugin-turbo": "latest",
|
|
77
|
+
"oxlint": "latest",
|
|
78
|
+
"prettier": "latest",
|
|
79
|
+
"sort-package-json": "latest",
|
|
80
|
+
"typescript": "latest",
|
|
81
|
+
"typescript-eslint": "latest"
|
|
82
|
+
}
|
|
83
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"checkJs": true,
|
|
6
|
+
"disableSourceOfProjectReferenceRedirect": true,
|
|
7
|
+
"incremental": true,
|
|
8
|
+
"jsx": "preserve",
|
|
9
|
+
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
10
|
+
"module": "Preserve",
|
|
11
|
+
"moduleDetection": "force",
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"noFallthroughCasesInSwitch": true,
|
|
14
|
+
"noImplicitOverride": true,
|
|
15
|
+
"noUncheckedIndexedAccess": true,
|
|
16
|
+
"plugins": [
|
|
17
|
+
{
|
|
18
|
+
"name": "next"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"skipLibCheck": true,
|
|
22
|
+
"target": "ESNext",
|
|
23
|
+
"tsBuildInfoFile": "${configDir}/.cache/tsbuildinfo.json",
|
|
24
|
+
"verbatimModuleSyntax": true
|
|
25
|
+
},
|
|
26
|
+
"exclude": [".expo", ".next", "build", "dist", "node_modules"]
|
|
27
|
+
}
|