@adbayb/stack 0.0.0-next-ece28ab → 0.0.0-next-9cabdc2

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.
@@ -66,10 +66,14 @@ export const config = [
66
66
  "no-regex-spaces": "error",
67
67
  "no-restricted-syntax": [
68
68
  "error",
69
+ // https://medium.com/@hbarcelos/why-i-banned-null-from-my-js-code-and-why-you-should-too-13df90323cfa
69
70
  {
70
71
  message: "Use undefined instead of null",
71
- // https://medium.com/@hbarcelos/why-i-banned-null-from-my-js-code-and-why-you-should-too-13df90323cfa
72
- selector: "Literal[raw='null']",
72
+ selector: "VariableDeclarator > Literal[raw='null']",
73
+ },
74
+ {
75
+ message: "Use undefined instead of null",
76
+ selector: "AssignmentExpression > Literal[raw='null']",
73
77
  },
74
78
  ],
75
79
  "no-self-assign": "error",
@@ -20,7 +20,7 @@ export const config = [
20
20
  "n/no-process-env": [
21
21
  "error",
22
22
  {
23
- allowedVariables: ["NODE_ENV"],
23
+ allowedVariables: ["NODE_ENV", "ENVIRONMENT"],
24
24
  },
25
25
  ],
26
26
  "n/no-unpublished-bin": "error",
@@ -159,17 +159,7 @@ export const config = [
159
159
  allowRegExp: false,
160
160
  },
161
161
  ],
162
- "@typescript-eslint/restrict-template-expressions": [
163
- "error",
164
- {
165
- allowAny: false,
166
- allowBoolean: false,
167
- allowNever: false,
168
- allowNullish: false,
169
- allowNumber: false,
170
- allowRegExp: false,
171
- },
172
- ],
162
+ "@typescript-eslint/restrict-template-expressions": "error",
173
163
  "@typescript-eslint/return-await": "error",
174
164
  "@typescript-eslint/sort-type-constituents": "error",
175
165
  "@typescript-eslint/switch-exhaustiveness-check": "error",
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { writeFile, chmod, mkdir, symlink } from 'node:fs/promises';
6
6
  import { existsSync, cpSync, readFileSync, renameSync, writeFileSync, readdirSync } from 'node:fs';
7
7
  import { fdir } from 'fdir';
8
8
 
9
- var version = "0.0.0-next-ece28ab";
9
+ var version = "0.0.0-next-9cabdc2";
10
10
 
11
11
  const VERSION = version;
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "0.0.0-next-ece28ab",
3
+ "version": "0.0.0-next-9cabdc2",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "publishConfig": {
6
6
  "access": "public"