@deslop/coding-standards 0.1.1247 → 0.1.1249

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.
Files changed (2) hide show
  1. package/dist/lint.js +3 -3
  2. package/package.json +1 -1
package/dist/lint.js CHANGED
@@ -6126,7 +6126,7 @@ const add = /*#__PURE__*/ dual(2, (self, key) => (set(self.keyMap, key, true), s
6126
6126
  * @since 2.0.0
6127
6127
  */
6128
6128
  const has = /*#__PURE__*/ dual(2, (self, key) => has$1(self.keyMap, key));
6129
- // ../../node_modules/.pnpm/@typeonce+oxlint-plugin-effect-machine@0.46.0_oxlint@1.89.0_oxlint-tsgolint@7.0.2004_vi_fddde7b984984ab86350ffbc76f4fef1/node_modules/@typeonce/oxlint-plugin-effect-machine/dist/recommended.js
6129
+ // ../../node_modules/.pnpm/@typeonce+oxlint-plugin-effect-machine@0.46.0_oxlint@1.91.0_oxlint-tsgolint@7.0.2005_vi_915aeb8976eeda97514115997b6956ef/node_modules/@typeonce/oxlint-plugin-effect-machine/dist/recommended.js
6130
6130
  /** Rules recommended for every Effect Machine model. */
6131
6131
  const recommended = {
6132
6132
  "effect-machine/no-async-planning-callback": "error",
@@ -6909,8 +6909,8 @@ function amount(token, pattern) {
6909
6909
  function violation(token) {
6910
6910
  const name = pipe(token, split(":"), last, getOrElse(() => token), replaceAll(/^!|!$/gu, ""));
6911
6911
  if (exists(amount(name, /^duration-(\d+)$/u), (value) => value >= 300)) return some$1("Keep a tween under 300 ms, such as duration-200.");
6912
- if (matches(/^zoom-(?:in|out)$/u)(name) || exists(amount(name, /^zoom-(?:in|out)-(\d+)$/u), (value) => value < 90)) return some$1("Enter from 0.9 scale or more: zoom-in-90 or zoom-in-95.");
6913
- if (pipe(token, split(":"), dropRight(1), contains("starting")) && exists(amount(name, /^scale-(\d+)$/u), (value) => value < 90)) return some$1("Enter from 0.9 scale or more: starting:scale-90 or starting:scale-95.");
6912
+ if (matches(/^zoom-(?:in|out)$/u)(name) || exists(amount(name, /^zoom-(?:in|out)-(\d+)$/u), (value) => value < 90)) return some$1("Enter from 0.95 scale with opacity: zoom-in-95.");
6913
+ if (pipe(token, split(":"), dropRight(1), contains("starting")) && exists(amount(name, /^scale-(\d+)$/u), (value) => value < 90)) return some$1("Enter from 0.95 scale with opacity: starting:scale-95.");
6914
6914
  return none();
6915
6915
  }
6916
6916
  function check$2(context, node, text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/coding-standards",
3
- "version": "0.1.1247",
3
+ "version": "0.1.1249",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",