pantsdown 2.2.6 → 2.2.7

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/eslint.config.ts DELETED
@@ -1,46 +0,0 @@
1
- /* eslint import-x/no-named-as-default-member: 0 */
2
- import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
3
- import { importX } from "eslint-plugin-import-x";
4
- import { defineConfig } from "eslint/config";
5
- import tseslint from "typescript-eslint";
6
-
7
- export default defineConfig([
8
- tseslint.configs.strictTypeChecked,
9
- tseslint.configs.stylisticTypeChecked,
10
- importX.flatConfigs.recommended,
11
- importX.flatConfigs.typescript,
12
- {
13
- languageOptions: {
14
- parserOptions: {
15
- projectService: true,
16
- },
17
- },
18
- settings: {
19
- "import-x/resolver-next": [
20
- createTypeScriptImportResolver({
21
- // Resolve Bun modules
22
- bun: true,
23
- project: ["./tsconfig.json"],
24
- }),
25
- ],
26
- },
27
- rules: {
28
- "import-x/no-deprecated": 1,
29
- "import-x/no-empty-named-blocks": 1,
30
- "import-x/no-extraneous-dependencies": 1,
31
- "@typescript-eslint/consistent-type-definitions": ["error", "type"],
32
- "@typescript-eslint/only-throw-error": 0,
33
- "@typescript-eslint/no-non-null-assertion": 0,
34
- "@typescript-eslint/no-misused-promises": 0,
35
- "@typescript-eslint/restrict-template-expressions": 0,
36
- "@typescript-eslint/no-unused-vars": [
37
- "error",
38
- {
39
- varsIgnorePattern: "^_",
40
- argsIgnorePattern: "^_",
41
- caughtErrorsIgnorePattern: "^_",
42
- },
43
- ],
44
- },
45
- },
46
- ]);
package/tsconfig.json DELETED
@@ -1,32 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
- "compilerOptions": {
4
- "lib": ["ESNext"],
5
- "module": "ESNext",
6
- "target": "ESNext",
7
- "types": ["bun"],
8
- "moduleResolution": "Bundler",
9
- "moduleDetection": "force",
10
- "allowImportingTsExtensions": true,
11
- "noEmit": true,
12
- "composite": true,
13
- "strict": true,
14
- "skipLibCheck": true,
15
- "allowSyntheticDefaultImports": true,
16
- "forceConsistentCasingInFileNames": true,
17
- "allowUnusedLabels": false,
18
- "allowUnreachableCode": false,
19
- "exactOptionalPropertyTypes": true,
20
- "noFallthroughCasesInSwitch": true,
21
- "noImplicitOverride": true,
22
- "noImplicitReturns": true,
23
- "noPropertyAccessFromIndexSignature": true,
24
- "noUncheckedIndexedAccess": true,
25
- "noUnusedLocals": true,
26
- "noUnusedParameters": true,
27
- "isolatedModules": true,
28
- "checkJs": true,
29
- "esModuleInterop": true,
30
- "verbatimModuleSyntax": true
31
- }
32
- }