@storm-software/linting-tools 1.3.8 → 1.3.10
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 +15 -0
- package/README.md +1 -1
- package/cspell/{config.js → config.json} +70 -74
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.3.9](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.3.8...linting-tools-v1.3.9) (2023-11-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Update list-staged config extension to work with ES modules ([a408b88](https://github.com/storm-software/storm-ops/commit/a408b88543fa835c931b25d8c9294c4427e8e6fe))
|
|
7
|
+
* **linting-tools:** Update cspell config to json to resolve import issue ([5ca437a](https://github.com/storm-software/storm-ops/commit/5ca437a2880486de494f4a49803b5e59b5a746dc))
|
|
8
|
+
|
|
9
|
+
## [1.3.8](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.3.7...linting-tools-v1.3.8) (2023-11-10)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **git-tools:** Resolved issue with missing husky hooks ([505113d](https://github.com/storm-software/storm-ops/commit/505113d29a17b37c99aa00d93bb6a1b5f60412ed))
|
|
15
|
+
|
|
1
16
|
## [1.3.7](https://github.com/storm-software/storm-ops/compare/linting-tools-v1.3.6...linting-tools-v1.3.7) (2023-11-09)
|
|
2
17
|
|
|
3
18
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
15
15
|
|
|
16
16
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
|
-
[](https://prettier.io/)
|
|
19
19
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
20
|
|
|
21
21
|
<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 />
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
"$schema":
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
enabledLanguageIds: [
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
|
|
3
|
+
"version": "0.2",
|
|
4
|
+
"name": "Storm cspell settings",
|
|
5
|
+
"id": "storm-cspell",
|
|
6
|
+
"description": "Default cspell configuration used by Storm Software.",
|
|
7
|
+
"language": "en",
|
|
8
|
+
"caseSensitive": false,
|
|
9
|
+
"enabledLanguageIds": [
|
|
11
10
|
"typescript",
|
|
12
11
|
"javascript",
|
|
13
12
|
"typescriptreact",
|
|
@@ -19,95 +18,92 @@ module.exports = {
|
|
|
19
18
|
"handlebars",
|
|
20
19
|
"markdown"
|
|
21
20
|
],
|
|
22
|
-
maxNumberOfProblems: 10000,
|
|
23
|
-
dictionaryDefinitions: [
|
|
21
|
+
"maxNumberOfProblems": 10000,
|
|
22
|
+
"dictionaryDefinitions": [
|
|
24
23
|
{
|
|
25
24
|
// The name of the dictionary is used to look it up.
|
|
26
|
-
name: "storm",
|
|
25
|
+
"name": "storm",
|
|
27
26
|
// Path to the custom word file. Relative to this `cspell.json` file.
|
|
28
|
-
path: "./dictionary.txt",
|
|
27
|
+
"path": "./dictionary.txt",
|
|
29
28
|
// Some editor extensions will use `addWords` for adding words to your
|
|
30
29
|
// personal dictionary.
|
|
31
|
-
addWords: true
|
|
30
|
+
"addWords": true
|
|
32
31
|
}
|
|
33
32
|
],
|
|
34
|
-
dictionaries: [
|
|
33
|
+
"dictionaries": [
|
|
35
34
|
"storm",
|
|
36
35
|
"companies",
|
|
37
36
|
"softwareTerms",
|
|
38
37
|
"public-licenses",
|
|
39
38
|
"filetypes"
|
|
40
39
|
],
|
|
41
|
-
flagWords: [],
|
|
40
|
+
"flagWords": [],
|
|
42
41
|
|
|
43
42
|
// Ignore files that aren't check in to git as well as files that aren't written
|
|
44
43
|
// by hand. Note that we do want to check, say, JSON files (as package.json
|
|
45
44
|
// contains English text like package descriptions).
|
|
46
|
-
useGitignore: true,
|
|
45
|
+
"useGitignore": true,
|
|
47
46
|
// GitHub Security Advisories
|
|
48
|
-
ignoreRegExpList: ["GHSA-[-\\w]+"],
|
|
49
|
-
overrides: [
|
|
47
|
+
"ignoreRegExpList": ["GHSA-[-\\w]+"],
|
|
48
|
+
"overrides": [
|
|
50
49
|
{
|
|
51
50
|
//Ignore anything in a changelog file that looks like a GitHub username.
|
|
52
|
-
filename: "**/CHANGELOG*.md",
|
|
53
|
-
ignoreRegExpList: ["@[-\\w]+"]
|
|
51
|
+
"filename": "**/CHANGELOG*.md",
|
|
52
|
+
"ignoreRegExpList": ["@[-\\w]+"]
|
|
54
53
|
},
|
|
55
54
|
{
|
|
56
55
|
//Ignore the targets of links in Markdown/MDX files.
|
|
57
|
-
filename: "'**/*.md*",
|
|
58
|
-
ignoreRegExpList: ["\\]\\([^)]+\\)"]
|
|
56
|
+
"filename": "'**/*.md*",
|
|
57
|
+
"ignoreRegExpList": ["\\]\\([^)]+\\)"]
|
|
59
58
|
}
|
|
60
59
|
],
|
|
61
|
-
patterns: [
|
|
60
|
+
"patterns": [
|
|
62
61
|
{
|
|
63
|
-
name: "HTML-symbol-entity",
|
|
64
|
-
description: "Matches on HTML symbols like `♣`",
|
|
65
|
-
pattern: /&[a-z]+;/g
|
|
62
|
+
"name": "HTML-symbol-entity",
|
|
63
|
+
"description": "Matches on HTML symbols like `♣`",
|
|
64
|
+
"pattern": "/&[a-z]+;/g"
|
|
66
65
|
},
|
|
67
66
|
{
|
|
68
|
-
name: "MARKDOWN-link-reference",
|
|
69
|
-
description:
|
|
70
|
-
|
|
71
|
-
pattern: /(?<=\])\[[-\w.`'"*&;#@ ]+\]/g
|
|
67
|
+
"name": "MARKDOWN-link-reference",
|
|
68
|
+
"description": "Markdown reference link: `[This is a link][reference]`, matches `[reference]`",
|
|
69
|
+
"pattern": "/(?<=])[[-w.`'\"*&;#@ ]+]/g"
|
|
72
70
|
},
|
|
73
71
|
{
|
|
74
|
-
name: "MARKDOWN-link-footer",
|
|
75
|
-
description:
|
|
76
|
-
|
|
77
|
-
pattern: /\[[-\w.`'"*&;#@ ]+\]:( [^\s]*)?/g
|
|
72
|
+
"name": "MARKDOWN-link-footer",
|
|
73
|
+
"description": "Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.",
|
|
74
|
+
"pattern": "/[[-w.`'\"*&;#@ ]+]:( [^s]*)?/g"
|
|
78
75
|
},
|
|
79
76
|
{
|
|
80
|
-
name: "MARKDOWN-link",
|
|
81
|
-
description: "Markdown link: `[link text](link)`, matches `link`",
|
|
82
|
-
pattern: /(
|
|
77
|
+
"name": "MARKDOWN-link",
|
|
78
|
+
"description": "Markdown link: `[link text](link)`, matches `link`",
|
|
79
|
+
"pattern": "/(?<=]()[^)s]+/g"
|
|
83
80
|
},
|
|
84
81
|
{
|
|
85
|
-
name: "MARKDOWN-anchor",
|
|
86
|
-
description:
|
|
87
|
-
|
|
88
|
-
pattern: /(?<=<a\s+id=")[^"\s]+/g
|
|
82
|
+
"name": "MARKDOWN-anchor",
|
|
83
|
+
"description": "Markdown Anchors: `<a id=\"my_link\"></a>`, matches `my_link`",
|
|
84
|
+
"pattern": "/(?<=<as+id=\")[^\"s]+/g"
|
|
89
85
|
}
|
|
90
86
|
],
|
|
91
|
-
languageSettings: [
|
|
87
|
+
"languageSettings": [
|
|
92
88
|
{
|
|
93
|
-
languageId: "javascript,javascriptreact",
|
|
94
|
-
dictionaries: ["storm", "typescript", "node", "npm"]
|
|
89
|
+
"languageId": "javascript,javascriptreact",
|
|
90
|
+
"dictionaries": ["storm", "typescript", "node", "npm"]
|
|
95
91
|
},
|
|
96
92
|
{
|
|
97
|
-
languageId: "typescript,typescriptreact,mdx",
|
|
98
|
-
dictionaries: ["storm", "typescript", "node", "npm"]
|
|
93
|
+
"languageId": "typescript,typescriptreact,mdx",
|
|
94
|
+
"dictionaries": ["storm", "typescript", "node", "npm"]
|
|
99
95
|
},
|
|
100
96
|
{
|
|
101
|
-
languageId: "javascriptreact,typescriptreact,mdx",
|
|
102
|
-
dictionaries: ["storm", "html", "html-symbol-entities", "css", "fonts"]
|
|
97
|
+
"languageId": "javascriptreact,typescriptreact,mdx",
|
|
98
|
+
"dictionaries": ["storm", "html", "html-symbol-entities", "css", "fonts"]
|
|
103
99
|
},
|
|
104
100
|
{
|
|
105
|
-
languageId: "markdown,asciidoc",
|
|
106
|
-
dictionaries: ["storm", "npm", "html", "html-symbol-entities"]
|
|
101
|
+
"languageId": "markdown,asciidoc",
|
|
102
|
+
"dictionaries": ["storm", "npm", "html", "html-symbol-entities"]
|
|
107
103
|
},
|
|
108
104
|
{
|
|
109
|
-
languageId: "html,pug,jade,php,handlebars",
|
|
110
|
-
dictionaries: [
|
|
105
|
+
"languageId": "html,pug,jade,php,handlebars",
|
|
106
|
+
"dictionaries": [
|
|
111
107
|
"storm",
|
|
112
108
|
"html",
|
|
113
109
|
"fonts",
|
|
@@ -118,40 +114,40 @@ module.exports = {
|
|
|
118
114
|
]
|
|
119
115
|
},
|
|
120
116
|
{
|
|
121
|
-
languageId: "json,jsonc",
|
|
122
|
-
dictionaries: ["storm", "node", "npm"]
|
|
117
|
+
"languageId": "json,jsonc",
|
|
118
|
+
"dictionaries": ["storm", "node", "npm"]
|
|
123
119
|
},
|
|
124
120
|
{
|
|
125
|
-
languageId: "php",
|
|
126
|
-
dictionaries: ["storm", "php"]
|
|
121
|
+
"languageId": "php",
|
|
122
|
+
"dictionaries": ["storm", "php"]
|
|
127
123
|
},
|
|
128
124
|
{
|
|
129
|
-
languageId: "css,less,scss",
|
|
130
|
-
dictionaries: ["storm", "fonts", "css"]
|
|
125
|
+
"languageId": "css,less,scss",
|
|
126
|
+
"dictionaries": ["storm", "fonts", "css"]
|
|
131
127
|
},
|
|
132
128
|
{
|
|
133
|
-
languageId: "map",
|
|
134
|
-
enabled: false
|
|
129
|
+
"languageId": "map",
|
|
130
|
+
"enabled": false
|
|
135
131
|
},
|
|
136
132
|
{
|
|
137
|
-
languageId: "image",
|
|
138
|
-
enabled: false
|
|
133
|
+
"languageId": "image",
|
|
134
|
+
"enabled": false
|
|
139
135
|
},
|
|
140
136
|
{
|
|
141
|
-
languageId: "binary",
|
|
142
|
-
enabled: false
|
|
137
|
+
"languageId": "binary",
|
|
138
|
+
"enabled": false
|
|
143
139
|
},
|
|
144
140
|
{
|
|
145
|
-
languageId: "markdown,html,mdx",
|
|
146
|
-
ignoreRegExpList: ["HTML-symbol-entity"]
|
|
141
|
+
"languageId": "markdown,html,mdx",
|
|
142
|
+
"ignoreRegExpList": ["HTML-symbol-entity"]
|
|
147
143
|
},
|
|
148
144
|
{
|
|
149
|
-
languageId: "html",
|
|
150
|
-
ignoreRegExpList: ["href"]
|
|
145
|
+
"languageId": "html",
|
|
146
|
+
"ignoreRegExpList": ["href"]
|
|
151
147
|
},
|
|
152
148
|
{
|
|
153
|
-
languageId: "markdown",
|
|
154
|
-
ignoreRegExpList: [
|
|
149
|
+
"languageId": "markdown",
|
|
150
|
+
"ignoreRegExpList": [
|
|
155
151
|
"MARKDOWN-link-reference",
|
|
156
152
|
"MARKDOWN-link-footer",
|
|
157
153
|
"MARKDOWN-link",
|
|
@@ -159,7 +155,7 @@ module.exports = {
|
|
|
159
155
|
]
|
|
160
156
|
}
|
|
161
157
|
],
|
|
162
|
-
import: [
|
|
158
|
+
"import": [
|
|
163
159
|
"@cspell/dict-ada/cspell-ext.json",
|
|
164
160
|
"@cspell/dict-aws/cspell-ext.json",
|
|
165
161
|
"@cspell/dict-bash/cspell-ext.json",
|
|
@@ -209,4 +205,4 @@ module.exports = {
|
|
|
209
205
|
"@cspell/dict-typescript/cspell-ext.json",
|
|
210
206
|
"@cspell/dict-vue/cspell-ext.json"
|
|
211
207
|
]
|
|
212
|
-
}
|
|
208
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/linting-tools",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.10",
|
|
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": [
|