@blumintinc/eslint-plugin-blumint 1.20.35 → 1.20.36

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/lib/index.js CHANGED
@@ -223,7 +223,7 @@ function noFrontendImportsFromFunctionsPatterns(pattern) {
223
223
  module.exports = {
224
224
  meta: {
225
225
  name: '@blumintinc/eslint-plugin-blumint',
226
- version: '1.20.35',
226
+ version: '1.20.36',
227
227
  },
228
228
  parseOptions: {
229
229
  ecmaVersion: 2020,
@@ -1,7 +1 @@
1
- type Options = [
2
- {
3
- autofix?: boolean;
4
- }
5
- ];
6
- export declare const noMarginProperties: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noMarginProperties", Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
7
- export {};
1
+ export declare const noMarginProperties: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<"noMarginProperties", [], import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
@@ -42,27 +42,14 @@ exports.noMarginProperties = (0, createRule_1.createRule)({
42
42
  description: 'Prevent margin properties (margin, marginLeft, marginRight, marginTop, marginBottom, mx, my, etc.) in MUI styling because margins fight container-controlled spacing, double gutters, and misaligned breakpoints; keep spacing centralized with padding, gap, or spacing props instead.',
43
43
  recommended: 'error',
44
44
  },
45
- schema: [
46
- {
47
- type: 'object',
48
- properties: {
49
- autofix: {
50
- type: 'boolean',
51
- default: false,
52
- },
53
- },
54
- additionalProperties: false,
55
- },
56
- ],
45
+ schema: [],
57
46
  messages: {
58
47
  noMarginProperties: 'Margin property "{{property}}" in MUI styling fights container-controlled spacing (Stack/Grid spacing, gap, responsive gutters) and produces double gutters, misalignment, and overflow as layouts shift. Keep spacing inside the component with padding or let the parent handle separation via gap/spacing so layout remains predictable.',
59
48
  },
60
49
  },
61
- defaultOptions: [{ autofix: false }],
50
+ defaultOptions: [],
62
51
  create(context) {
63
52
  const seenNodes = new WeakSet();
64
- // Note: autofix option is available but not currently implemented
65
- // Future implementation can use: const { autofix = false } = _options;
66
53
  function checkProperty(propertyName) {
67
54
  const normalizedName = normalizePropertyName(propertyName);
68
55
  return MARGIN_PROPERTIES.has(normalizedName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blumintinc/eslint-plugin-blumint",
3
- "version": "1.20.35",
3
+ "version": "1.20.36",
4
4
  "description": "Custom eslint rules for use within BluMint",
5
5
  "author": {
6
6
  "name": "Brodie McGuire",
@@ -1,4 +1,18 @@
1
1
  [
2
+ {
3
+ "version": "1.20.36",
4
+ "date": "2026-07-30T17:05:52.383Z",
5
+ "rules": [
6
+ {
7
+ "name": "no-margin-properties",
8
+ "changeType": "fix",
9
+ "issues": [
10
+ 1460
11
+ ],
12
+ "summary": "remove the inert autofix option (closes #1460)"
13
+ }
14
+ ]
15
+ },
2
16
  {
3
17
  "version": "1.20.35",
4
18
  "date": "2026-07-30T16:38:05.368Z",