@xsynaptic/eslint-config 0.0.2 → 0.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsynaptic/eslint-config",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A common ESLint config factory for TypeScript and Astro projects",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/get-config.ts CHANGED
@@ -3,7 +3,9 @@ import astroPlugin from "eslint-plugin-astro";
3
3
  import simpleImportSortPlugin from "eslint-plugin-simple-import-sort";
4
4
  import unicornPlugin from "eslint-plugin-unicorn";
5
5
  import globals from "globals";
6
- import tseslint, { ConfigArray } from "typescript-eslint";
6
+ import tseslint from "typescript-eslint";
7
+
8
+ import type { ConfigArray } from "typescript-eslint";
7
9
 
8
10
  export function getConfig(
9
11
  customConfig?: ConfigArray,
package/tsconfig.json CHANGED
@@ -1,14 +1,20 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ESNext",
3
+ "target": "esnext",
4
+ "module": "esnext",
5
+ "moduleResolution": "bundler",
4
6
  "baseUrl": ".",
5
- "module": "ESNext",
6
- "moduleResolution": "Bundler",
7
- "strict": true,
7
+ "allowJs": true,
8
+ "checkJs": true,
8
9
  "esModuleInterop": true,
9
- "skipLibCheck": true
10
+ "isolatedModules": true,
11
+ "noEmit": true,
12
+ "skipLibCheck": true,
13
+ "strict": true,
14
+ "strictNullChecks": true,
15
+ "verbatimModuleSyntax": true
10
16
  },
11
17
  "include": [
12
18
  "**/*.ts"
13
19
  ]
14
- }
20
+ }