@deslop/coding-standards 0.1.1248 → 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 +2 -2
  2. package/package.json +1 -1
package/dist/lint.js CHANGED
@@ -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.1248",
3
+ "version": "0.1.1249",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",