@pumpn/eslint-config 13.2.0 → 14.0.1

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/config.js CHANGED
@@ -1,3 +1,4 @@
1
+ import * as parser from "@typescript-eslint/parser";
1
2
  import globals from "globals";
2
3
 
3
4
  import plugins from "./plugins.js";
@@ -34,14 +35,18 @@ const config = [
34
35
  Deno: "readonly",
35
36
  ...convertedGlobals
36
37
  },
38
+ parser,
37
39
  parserOptions: {
38
40
  ecmaFeatures: {
39
41
  jsx: true
40
42
  },
41
43
  ecmaVersion: "latest",
42
44
  jsxPragma: null,
45
+ parser,
46
+ project: "./tsconfig.json",
43
47
  requireConfigFile: false,
44
- sourceType: "module"
48
+ sourceType: "module",
49
+ tsconfigRootDir: "./"
45
50
  },
46
51
  sourceType: "module"
47
52
  },
@@ -83,8 +88,8 @@ const config = [
83
88
  name: "Link"
84
89
  }
85
90
  ],
86
- react: {
87
- pragma: "h",
91
+ "react-x": {
92
+ jsxPragma: "h",
88
93
  version: "18"
89
94
  },
90
95
  regexp: {
package/deno.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "13.2.0",
3
+ "version": "14.0.1",
4
4
  "exports": "./config.js",
5
5
  "tasks": {
6
6
  "lint": "deno run -A npm:eslint",
7
7
  "docs": "jsdoc --configure jsdoc.json",
8
- "publish": "VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish"
8
+ "publish": "VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish",
9
+ "update-import-map": "deno run -A ./scripts/update-import-map.js",
10
+ "update-tsconfig": "deno run -A ./scripts/update-tsconfig.js"
9
11
  },
10
12
  "compilerOptions": {
11
13
  "allowJs": true,
@@ -36,7 +38,6 @@
36
38
  "esnext"
37
39
  ]
38
40
  },
39
- "loader": "native",
40
41
  "importMap": "./import-map.json",
41
42
  "exclude": [
42
43
  "**/_fresh/*"