@storm-software/linting-tools 1.24.0 → 1.25.0
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/biome/biome.json +81 -0
- package/cli/index.js +3 -3
- package/cspell/dictionary.txt +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.24.1](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.24.0...linting-tools-v1.24.1) (2024-01-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Cleaned up dependanies and option defaulting in tsup ([0ae0dd3](https://github.com/storm-software/storm-ops/commit/0ae0dd327ed646e6dbcd1c33b44aef820403cd77))
|
|
7
|
+
|
|
8
|
+
# [1.24.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.23.0...linting-tools-v1.24.0) (2024-01-14)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **git-tools:** Improved all CLI tools and git hooks to use the `zx` package ([a905c21](https://github.com/storm-software/storm-ops/commit/a905c213d710d995cc114b32a90bf4d042c550d6))
|
|
14
|
+
|
|
1
15
|
# [1.23.0](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.22.0...linting-tools-v1.23.0) (2024-01-14)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
16
16
|
|
|
17
17
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
18
18
|
|
|
19
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
21
21
|
|
|
22
22
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
package/biome/biome.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/1.5.1/schema.json",
|
|
3
|
+
"organizeImports": {
|
|
4
|
+
"enabled": false
|
|
5
|
+
},
|
|
6
|
+
"files": {
|
|
7
|
+
"ignoreUnknown": true,
|
|
8
|
+
"ignore": [
|
|
9
|
+
"**/.wrangler/**",
|
|
10
|
+
"**/tamagui.css",
|
|
11
|
+
"**/workbox*.js",
|
|
12
|
+
"**/sw*.js",
|
|
13
|
+
"**/service-worker.js",
|
|
14
|
+
"**/fallback*.js",
|
|
15
|
+
"**/node_modules/**",
|
|
16
|
+
"**/dist/**",
|
|
17
|
+
"**/out/**",
|
|
18
|
+
"**/ios/**",
|
|
19
|
+
"**/.git/**",
|
|
20
|
+
"**/.vscode/**",
|
|
21
|
+
"**/.android/**",
|
|
22
|
+
"**/.DS_Store/**",
|
|
23
|
+
"**/Thumbs.db/**",
|
|
24
|
+
"**/.tamagui*",
|
|
25
|
+
"**/.next*"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"linter": {
|
|
29
|
+
"enabled": true,
|
|
30
|
+
"rules": {
|
|
31
|
+
"recommended": true,
|
|
32
|
+
"style": {
|
|
33
|
+
"useDefaultParameterLast": "off",
|
|
34
|
+
"useTemplate": "warn",
|
|
35
|
+
"noUselessElse": "warn"
|
|
36
|
+
},
|
|
37
|
+
"suspicious": {
|
|
38
|
+
"noEmptyInterface": "off",
|
|
39
|
+
"noExplicitAny": "off"
|
|
40
|
+
},
|
|
41
|
+
"security": {
|
|
42
|
+
"noDangerouslySetInnerHtml": "off"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"formatter": {
|
|
47
|
+
"enabled": true,
|
|
48
|
+
"lineWidth": 100,
|
|
49
|
+
"indentStyle": "space",
|
|
50
|
+
"indentWidth": 2
|
|
51
|
+
},
|
|
52
|
+
"javascript": {
|
|
53
|
+
"parser": {
|
|
54
|
+
"unsafeParameterDecoratorsEnabled": true
|
|
55
|
+
},
|
|
56
|
+
"formatter": {
|
|
57
|
+
"enabled": true,
|
|
58
|
+
"quoteStyle": "double",
|
|
59
|
+
"jsxQuoteStyle": "double",
|
|
60
|
+
"trailingComma": "none",
|
|
61
|
+
"semicolons": "always",
|
|
62
|
+
"arrowParentheses": "always",
|
|
63
|
+
"quoteProperties": "asNeeded"
|
|
64
|
+
},
|
|
65
|
+
"globals": ["__STORM_CONFIG", "__STORM_CONTEXT"]
|
|
66
|
+
},
|
|
67
|
+
"json": {
|
|
68
|
+
"parser": {
|
|
69
|
+
"allowComments": true
|
|
70
|
+
},
|
|
71
|
+
"formatter": {
|
|
72
|
+
"enabled": true
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"vcs": {
|
|
76
|
+
"enabled": true,
|
|
77
|
+
"clientKind": "git",
|
|
78
|
+
"defaultBranch": "origin:main",
|
|
79
|
+
"useIgnoreFile": true
|
|
80
|
+
}
|
|
81
|
+
}
|
package/cli/index.js
CHANGED
|
@@ -319859,14 +319859,14 @@ async function runManypkg(manypkgType, manypkgArgs, manypkgFix = true) {
|
|
|
319859
319859
|
|
|
319860
319860
|
// packages/linting-tools/src/cli/index.ts
|
|
319861
319861
|
function createProgram() {
|
|
319862
|
-
console.log("
|
|
319862
|
+
console.log("\u26A1 Running Storm Linting Tools");
|
|
319863
319863
|
const root = findWorkspaceRootSafe();
|
|
319864
319864
|
process.env.STORM_WORKSPACE_ROOT ??= root;
|
|
319865
319865
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root;
|
|
319866
319866
|
root && process.chdir(root);
|
|
319867
319867
|
const program2 = new Command("storm-lint");
|
|
319868
319868
|
program2.version("1.0.0", "-v --version", "display CLI version");
|
|
319869
|
-
program2.description("\
|
|
319869
|
+
program2.description("\u26A1 Lint the Storm Workspace").showHelpAfterError().showSuggestionAfterError();
|
|
319870
319870
|
const cspellConfig = new Option("--cspell-config <file>", "CSpell config file path").default(
|
|
319871
319871
|
"@storm-software/linting-tools/cspell/config.js"
|
|
319872
319872
|
);
|
|
@@ -319927,7 +319927,7 @@ async function allAction(cspellSkip, alexSkip, depsVersionSkip, circularDepsSkip
|
|
|
319927
319927
|
promises.push(manypkgAction(manypkgType, manypkgArgs, manypkgFix));
|
|
319928
319928
|
}
|
|
319929
319929
|
await Promise.all(promises);
|
|
319930
|
-
console.log("\
|
|
319930
|
+
console.log("\u2705 Successfully linted the workspace");
|
|
319931
319931
|
} catch (e) {
|
|
319932
319932
|
console.error(e);
|
|
319933
319933
|
process.exit(1);
|
package/cspell/dictionary.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
|
|
6
6
|
"keywords": [
|