@pumpn/eslint-config 12.1.1 → 12.1.4

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/deno.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "12.1.1",
3
+ "version": "12.1.4",
4
4
  "exports": "./config.js",
5
5
  "tasks": {
6
6
  "lint": "deno run -A npm:eslint .",
7
- "docs": "jsdoc --configure jsdoc.json"
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 && npm publish"
8
9
  },
9
10
  "compilerOptions": {
10
11
  "allowJs": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "12.1.1",
3
+ "version": "12.1.4",
4
4
  "description": "standard eslint config for pumpn code projects",
5
5
  "main": "config.js",
6
6
  "author": "Nano Miratus <nanomiratus@gmail.com>",
@@ -57,7 +57,8 @@ const staticAnalysisRules = {
57
57
  }
58
58
  ],
59
59
  "import/no-self-import": "error",
60
- "import/no-unresolved": "error",
60
+ // TODO [2024-04-01]: Change to "error" when there is a resolver for deno
61
+ "import/no-unresolved": "off",
61
62
  "import/no-useless-path-segments": [
62
63
  "error",
63
64
  {
@@ -58,7 +58,7 @@ const styleGuideRules = {
58
58
  "newlines-between": "always",
59
59
  pathGroups: [
60
60
  ...new Map([
61
- ["builtin", ["std"]],
61
+ ["builtin", ["@std"]],
62
62
  [
63
63
  "internal",
64
64
  [
@@ -62,7 +62,7 @@ const perfectionistRules = {
62
62
  islands: "@/islands/**",
63
63
  logic: "@/logic/**",
64
64
  plugins: "@/plugins/**",
65
- std: "std/**",
65
+ std: "@std/**",
66
66
  utilities: "@/utilities/**"
67
67
  }
68
68
  },