@storm-software/eslint 0.169.7 → 0.169.8
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/README.md +1 -1
- package/dist/preset.js +14 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.js
CHANGED
|
@@ -6168,7 +6168,11 @@ async function javascript(options = {}) {
|
|
|
6168
6168
|
// require camel case names
|
|
6169
6169
|
camelcase: [
|
|
6170
6170
|
"error",
|
|
6171
|
-
{
|
|
6171
|
+
{
|
|
6172
|
+
properties: "never",
|
|
6173
|
+
ignoreDestructuring: false,
|
|
6174
|
+
allow: ["^(UNSAFE_|EXPERIMENTAL_).*$"]
|
|
6175
|
+
}
|
|
6172
6176
|
],
|
|
6173
6177
|
// enforce or disallow capitalization of the first letter of a comment
|
|
6174
6178
|
// https://eslint.org/docs/rules/capitalized-comments
|
|
@@ -8348,12 +8352,16 @@ async function typescript(options = {}) {
|
|
|
8348
8352
|
{
|
|
8349
8353
|
selector: "typeLike",
|
|
8350
8354
|
format: ["PascalCase"],
|
|
8355
|
+
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_).*$", match: false },
|
|
8351
8356
|
filter: { regex: "^(__String|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8352
8357
|
},
|
|
8353
8358
|
{
|
|
8354
8359
|
selector: "interface",
|
|
8355
8360
|
format: ["PascalCase"],
|
|
8356
|
-
custom: {
|
|
8361
|
+
custom: {
|
|
8362
|
+
regex: "^(I[A-Z]|UNSAFE_.*$|EXPERIMENTAL_.*)$",
|
|
8363
|
+
match: false
|
|
8364
|
+
},
|
|
8357
8365
|
filter: {
|
|
8358
8366
|
regex: "^I(Arguments|TextWriter|O([A-Z][a-z]+[A-Za-z]*)?)$",
|
|
8359
8367
|
match: false
|
|
@@ -8363,6 +8371,7 @@ async function typescript(options = {}) {
|
|
|
8363
8371
|
selector: "variable",
|
|
8364
8372
|
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
8365
8373
|
leadingUnderscore: "allow",
|
|
8374
|
+
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_).*$", match: false },
|
|
8366
8375
|
filter: {
|
|
8367
8376
|
regex: "^(_{1,2}filename|_{1,2}dirname|_+|[A-Za-z]+_[A-Za-z]+)$",
|
|
8368
8377
|
match: false
|
|
@@ -8372,6 +8381,7 @@ async function typescript(options = {}) {
|
|
|
8372
8381
|
selector: "function",
|
|
8373
8382
|
format: ["camelCase", "PascalCase"],
|
|
8374
8383
|
leadingUnderscore: "allow",
|
|
8384
|
+
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_).*$", match: false },
|
|
8375
8385
|
filter: { regex: "^[A-Za-z]+_[A-Za-z]+$", match: false }
|
|
8376
8386
|
},
|
|
8377
8387
|
{
|
|
@@ -8384,12 +8394,14 @@ async function typescript(options = {}) {
|
|
|
8384
8394
|
selector: "method",
|
|
8385
8395
|
format: ["camelCase", "PascalCase"],
|
|
8386
8396
|
leadingUnderscore: "allow",
|
|
8397
|
+
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_).*$", match: false },
|
|
8387
8398
|
filter: { regex: "^([0-9]+|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8388
8399
|
},
|
|
8389
8400
|
{
|
|
8390
8401
|
selector: "memberLike",
|
|
8391
8402
|
format: ["camelCase"],
|
|
8392
8403
|
leadingUnderscore: "allow",
|
|
8404
|
+
custom: { regex: "^(UNSAFE_|EXPERIMENTAL_).*$", match: false },
|
|
8393
8405
|
filter: { regex: "^([0-9]+|[A-Za-z]+_[A-Za-z]+)$", match: false }
|
|
8394
8406
|
},
|
|
8395
8407
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.169.
|
|
3
|
+
"version": "0.169.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -164,8 +164,8 @@
|
|
|
164
164
|
"@eslint/eslintrc": "^3.3.1",
|
|
165
165
|
"@eslint/markdown": "^6.6.0",
|
|
166
166
|
"@nx/eslint-plugin": "^21.4.1",
|
|
167
|
-
"@storm-software/config": "^1.134.
|
|
168
|
-
"@storm-software/config-tools": "^1.188.
|
|
167
|
+
"@storm-software/config": "^1.134.8",
|
|
168
|
+
"@storm-software/config-tools": "^1.188.8",
|
|
169
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
170
170
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
171
171
|
"@typescript-eslint/parser": "^8.35.0",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "16c437dfb0ee42cc63b7dd31d3a8021683018b83"
|
|
245
245
|
}
|