@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 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
- [![Version](https://img.shields.io/badge/version-0.169.5-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.169.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
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
- { properties: "never", ignoreDestructuring: false }
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: { regex: "^I[A-Z]", match: false },
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.7",
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.7",
168
- "@storm-software/config-tools": "^1.188.7",
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": "f16b438d3b1a16b47bbed4a8564885f88462b331"
244
+ "gitHead": "16c437dfb0ee42cc63b7dd31d3a8021683018b83"
245
245
  }