arui-presets-lint 7.6.1 → 7.6.2

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/eslint/index.js +1 -1
  2. package/package.json +1 -1
package/eslint/index.js CHANGED
@@ -216,7 +216,7 @@ module.exports = {
216
216
  'Do not use "PropsWithChildren". Use explicit children typing instead, for example: "children?: ReactNode";',
217
217
  },
218
218
  {
219
- selector: 'Literal[value=/.*(?:[a-zA-Z][а-яА-ЯёЁ]|[а-яА-ЯёЁ][a-zA-Z]).*/]',
219
+ selector: 'Literal[value=/(?:[a-z][а-яё]|[а-яё][a-z])/i]',
220
220
  message:
221
221
  'Detected mixed language layout within a single word. For example, "case" (first character in ru-encoding)',
222
222
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arui-presets-lint",
3
- "version": "7.6.1",
3
+ "version": "7.6.2",
4
4
  "description": "Config files for arui-apps",
5
5
  "author": "core-ds contributors",
6
6
  "license": "MIT",