@itcase/lint 1.1.64 → 1.1.66

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.
@@ -35,6 +35,15 @@ const customGroups = {
35
35
  ErrorRequestMock: 'ErrorRequestMock$',
36
36
  SuccessMock: 'SuccessMock$',
37
37
 
38
+ hasPrimaryAppearance: '^.*Primary.*\b',
39
+ hasSecondaryAppearance: '^.*Secondary.*\b',
40
+ hasTertiaryAppearance: '^.*Tertiary.*\b',
41
+ hasQuaternaryAppearance: '^.*Quaternary.*\b',
42
+ hasMutedPrimaryAppearance: '^.*MutedPrimary.*\b',
43
+ hasMutedSecondaryAppearance: '^.*MutedSecondary.*\b',
44
+ hasMutedTertiaryAppearance: '^.*MutedTertiary.*\b',
45
+ hasMutedQuaternaryAppearance: '^.*MutedQuaternary.*\b',
46
+
38
47
  hasAccent: '^.(?!is|on).*(A|a)ccent.*\b',
39
48
  hasPrimary: '^.(?!is|on).*(P|p)rimary.*\b',
40
49
  hasSecondary: '^(?!is|on).*(S|s)econdary.*\b',
@@ -9,6 +9,8 @@ const props = [
9
9
  'name',
10
10
  'ref',
11
11
 
12
+ 'PageLayout',
13
+
12
14
  // Size and positioning
13
15
  'width',
14
16
  'height',
@@ -158,6 +160,16 @@ const props = [
158
160
  'hasServerErrorData',
159
161
  'hasInitialValues',
160
162
 
163
+ // Appearance
164
+ 'hasPrimaryAppearance',
165
+ 'hasSecondaryAppearance',
166
+ 'hasTertiaryAppearance',
167
+ 'hasQuaternaryAppearance',
168
+ 'hasMutedPrimaryAppearance',
169
+ 'hasMutedSecondaryAppearance',
170
+ 'hasMutedTertiaryAppearance',
171
+ 'hasMutedQuaternaryAppearance',
172
+
161
173
  // State
162
174
  'custom',
163
175
  'fail',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.1.64",
3
+ "version": "1.1.66",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-html": "^8.1.3",
50
50
  "eslint-plugin-json": "^4.0.1",
51
51
  "eslint-plugin-mobx": "^0.0.13",
52
- "eslint-plugin-n": "^17.23.0",
52
+ "eslint-plugin-n": "^17.23.1",
53
53
  "eslint-plugin-node": "^11.1.0",
54
54
  "eslint-plugin-perfectionist": "^4.15.0",
55
55
  "eslint-plugin-prettier": "^5.5.4",
@@ -58,8 +58,8 @@
58
58
  "eslint-plugin-react-hooks": "^5.2.0",
59
59
  "eslint-plugin-react-native": "^5.0.0",
60
60
  "eslint-plugin-react-refresh": "^0.4.20",
61
- "eslint-plugin-storybook": "^9.1.6",
62
- "expo-modules-autolinking": "^3.0.11",
61
+ "eslint-plugin-storybook": "^9.1.7",
62
+ "expo-modules-autolinking": "^3.0.12",
63
63
  "globals": "^16.4.0",
64
64
  "prettier": "^3.6.2",
65
65
  "stylelint-config-standard": "^39.0.0",