lintmax 0.1.83

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/oxlintrc.json ADDED
@@ -0,0 +1,161 @@
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": "off",
30
+ "curly": "off",
31
+ "id-length": "off",
32
+ "import/group-exports": "off",
33
+ "import/max-dependencies": "off",
34
+ "import/no-default-export": "off",
35
+ "import/no-named-export": "off",
36
+ "import/no-unassigned-import": "off",
37
+ "import/no-nodejs-modules": "off",
38
+ "import/no-relative-parent-imports": "off",
39
+ "import/prefer-default-export": "off",
40
+ "import/unambiguous": "off",
41
+ "init-declarations": "off",
42
+ "jest/expect-expect": ["error", { "assertFunctionNames": ["expect", "expectOk", "expectErr", "ok", "err"] }],
43
+ "jest/max-expects": "off",
44
+ "jest/no-conditional-in-test": "off",
45
+ "vitest/no-conditional-in-test": "off",
46
+ "vitest/no-conditional-tests": "off",
47
+ "jest/no-hooks": "off",
48
+ "jest/prefer-ending-with-an-expect": "off",
49
+ "jest/prefer-each": "off",
50
+ "jest/prefer-importing-jest-globals": "off",
51
+ "jest/require-hook": "off",
52
+ "jest/require-top-level-describe": "off",
53
+ "jest/valid-title": "off",
54
+ "jsdoc/require-param": "off",
55
+ "jsdoc/require-param-type": "off",
56
+ "jsdoc/require-returns": "off",
57
+ "jsdoc/require-returns-type": "off",
58
+ "max-lines": "off",
59
+ "max-lines-per-function": "off",
60
+ "max-statements": "off",
61
+ "new-cap": "off",
62
+ "no-console": "off",
63
+ "no-continue": "off",
64
+ "no-duplicate-imports": "off",
65
+ "no-magic-numbers": "off",
66
+ "no-nested-ternary": "off",
67
+ "prefer-destructuring": "off",
68
+ "no-ternary": "off",
69
+ "no-undef": "off",
70
+ "no-undefined": "off",
71
+ "node/callback-return": "off",
72
+ "node/no-process-env": "off",
73
+ "oxc/no-async-await": "off",
74
+ "promise/avoid-new": "off",
75
+ "oxc/no-optional-chaining": "off",
76
+ "oxc/no-rest-spread-properties": "off",
77
+ "react-perf/jsx-no-new-function-as-prop": "off",
78
+ "react/forbid-component-props": "off",
79
+ "react/jsx-filename-extension": [
80
+ "error",
81
+ {
82
+ "extensions": [".tsx"]
83
+ }
84
+ ],
85
+ "react/jsx-max-depth": "off",
86
+ "react/jsx-props-no-spreading": "off",
87
+ "react/no-multi-comp": "off",
88
+ "react/only-export-components": "off",
89
+ "react/react-in-jsx-scope": "off",
90
+ "require-await": "off",
91
+ "sort-imports": "off",
92
+ "sort-vars": "off",
93
+ "typescript/explicit-function-return-type": "off",
94
+ "typescript/explicit-module-boundary-types": "off",
95
+ "unicorn/filename-case": [
96
+ "error",
97
+ {
98
+ "case": "kebabCase"
99
+ }
100
+ ],
101
+ "unicorn/import-style": [
102
+ "error",
103
+ {
104
+ "styles": {
105
+ "node:assert": false,
106
+ "node:async_hooks": false,
107
+ "node:buffer": false,
108
+ "node:child_process": false,
109
+ "node:cluster": false,
110
+ "node:console": false,
111
+ "node:crypto": false,
112
+ "node:dgram": false,
113
+ "node:diagnostics_channel": false,
114
+ "node:dns": false,
115
+ "node:domain": false,
116
+ "node:events": false,
117
+ "node:fs": false,
118
+ "node:fs/promises": false,
119
+ "node:http": false,
120
+ "node:http2": false,
121
+ "node:https": false,
122
+ "node:inspector": false,
123
+ "node:module": false,
124
+ "node:net": false,
125
+ "node:os": false,
126
+ "node:path": false,
127
+ "node:perf_hooks": false,
128
+ "node:process": false,
129
+ "node:punycode": false,
130
+ "node:querystring": false,
131
+ "node:readline": false,
132
+ "node:repl": false,
133
+ "node:stream": false,
134
+ "node:stream/promises": false,
135
+ "node:string_decoder": false,
136
+ "node:timers": false,
137
+ "node:timers/promises": false,
138
+ "node:tls": false,
139
+ "node:tty": false,
140
+ "node:url": false,
141
+ "node:util": false,
142
+ "node:v8": false,
143
+ "node:vm": false,
144
+ "node:worker_threads": false,
145
+ "node:zlib": false
146
+ }
147
+ }
148
+ ],
149
+ "unicorn/no-array-callback-reference": "off",
150
+ "unicorn/no-useless-undefined": "off",
151
+ "unicorn/no-nested-ternary": "off",
152
+ "unicorn/no-await-expression-member": "off",
153
+ "unicorn/no-null": "off",
154
+ "unicorn/prefer-global-this": "off",
155
+ "unicorn/switch-case-braces": ["error", "avoid"],
156
+ "vitest/prefer-importing-vitest-globals": "off",
157
+ "vitest/prefer-strict-boolean-matchers": "off",
158
+ "vitest/require-hook": "off",
159
+ "vitest/require-test-timeout": "off"
160
+ }
161
+ }
package/package.json ADDED
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "lintmax",
3
+ "version": "0.1.83",
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
+ "sideEffects": false,
30
+ "type": "module",
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/index.d.mts",
34
+ "import": "./dist/index.mjs"
35
+ },
36
+ "./eslint": {
37
+ "types": "./dist/eslint.d.mts",
38
+ "import": "./dist/eslint.mjs"
39
+ },
40
+ "./tsconfig": "./tsconfig.json",
41
+ "./tsconfig.json": "./tsconfig.json"
42
+ },
43
+ "bin": {
44
+ "lintmax": "dist/cli.mjs"
45
+ },
46
+ "files": [
47
+ "dist",
48
+ "tsconfig.json",
49
+ "oxlintrc.json"
50
+ ],
51
+ "scripts": {
52
+ "build": "tsdown",
53
+ "check": "bun dist/cli.mjs check",
54
+ "fix": "bun dist/cli.mjs fix",
55
+ "prepublishOnly": "bun run build",
56
+ "postpublish": "bun ../../tools/prune-versions.ts",
57
+ "smoke": "bun script/smoke.ts",
58
+ "test": "bun script/test-magic.ts && bun script/test-coverage.ts"
59
+ },
60
+ "dependencies": {
61
+ "@biomejs/biome": "latest",
62
+ "@dprint/dockerfile": "latest",
63
+ "@eslint-react/eslint-plugin": "latest",
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
+ "dprint": "latest",
71
+ "eslint": "^9",
72
+ "eslint-plugin-better-tailwindcss": "latest",
73
+ "eslint-plugin-erasable-syntax-only": "latest",
74
+ "eslint-plugin-package-json": "latest",
75
+ "eslint-plugin-perfectionist": "latest",
76
+ "eslint-plugin-prefer-arrow-functions": "latest",
77
+ "eslint-plugin-react": "latest",
78
+ "eslint-plugin-react-hooks": "latest",
79
+ "eslint-plugin-regexp": "latest",
80
+ "eslint-plugin-sonarjs": "latest",
81
+ "eslint-plugin-turbo": "latest",
82
+ "oxc-parser": "latest",
83
+ "oxlint": "latest",
84
+ "prettier": "latest",
85
+ "sort-package-json": "latest",
86
+ "tombi": "latest",
87
+ "typescript": "~6.0.3",
88
+ "typescript-eslint": "latest"
89
+ }
90
+ }
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
+ }