@bfra.me/eslint-config 0.47.2 → 0.47.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/lib/index.js +2 -2
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import process2 from "process";
|
|
|
16
16
|
import process from "process";
|
|
17
17
|
function hasNonEmptyEnv(key) {
|
|
18
18
|
const value = process.env[key];
|
|
19
|
-
return typeof value === "string" && value.length > 0;
|
|
19
|
+
return typeof value === "string" && value.trim().length > 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// ../es/src/env/git.ts
|
|
@@ -147,7 +147,7 @@ var GLOB_EXCLUDE = [
|
|
|
147
147
|
import { fileURLToPath } from "url";
|
|
148
148
|
|
|
149
149
|
// package.json
|
|
150
|
-
var version = "0.47.
|
|
150
|
+
var version = "0.47.3";
|
|
151
151
|
|
|
152
152
|
// src/parsers/any-parser.ts
|
|
153
153
|
var lineBreakPattern = /\r\n|[\n\r\u2028\u2029]/u;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bfra.me/eslint-config",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.3",
|
|
4
4
|
"description": "Shared ESLint configuration for bfra.me",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bfra.me",
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
"eslint-plugin-erasable-syntax-only": "0.4.0",
|
|
80
80
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
81
81
|
"eslint-plugin-node-dependencies": "1.3.0",
|
|
82
|
-
"eslint-plugin-pnpm": "1.4.
|
|
82
|
+
"eslint-plugin-pnpm": "1.4.1",
|
|
83
83
|
"eslint-plugin-prettier": "5.5.4",
|
|
84
84
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
85
85
|
"eslint-plugin-react-refresh": "0.4.24",
|
|
86
86
|
"eslint-typegen": "2.3.0",
|
|
87
|
-
"@bfra.me/
|
|
88
|
-
"@bfra.me/
|
|
87
|
+
"@bfra.me/works": "0.0.0-development",
|
|
88
|
+
"@bfra.me/prettier-config": "0.16.6"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@eslint-react/eslint-plugin": "^2.0.1",
|