@theholocron/eslint-config 5.1.0 → 5.1.2
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/bundles/library.js +10 -0
- package/package.json +1 -1
package/bundles/library.js
CHANGED
|
@@ -7,5 +7,15 @@ export function library() {
|
|
|
7
7
|
...base(),
|
|
8
8
|
...node(),
|
|
9
9
|
...typescript(),
|
|
10
|
+
{
|
|
11
|
+
name: "@theholocron/library",
|
|
12
|
+
rules: {
|
|
13
|
+
// Library packages often include dev scripts with shebangs that aren't
|
|
14
|
+
// bin entries, and CLI entry shebangs are commonly injected by bundlers
|
|
15
|
+
// (e.g. tsdown banner) rather than written in source. The hashbang rule
|
|
16
|
+
// produces false positives in both cases for the library use-case.
|
|
17
|
+
"n/hashbang": "off",
|
|
18
|
+
},
|
|
19
|
+
},
|
|
10
20
|
];
|
|
11
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/eslint-config",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "A ESLint configuration for writing well-formed Javascript within the Galaxy.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/eslint-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|