eslint-plugin-gamut 2.3.3-alpha.e5de6b.0 → 2.4.0

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/README.md CHANGED
@@ -16,6 +16,7 @@ module.exports = {
16
16
  'gamut/prefer-themed': 'error',
17
17
  'gamut/no-css-standalone': 'error',
18
18
  'gamut/import-paths': 'error',
19
+ 'gamut/no-inline-style': 'error',
19
20
  },
20
21
  };
21
22
  ```
@@ -21,7 +21,7 @@ exports.default = (0, createRule_1.createRule)({
21
21
  recommended: 'error',
22
22
  },
23
23
  messages: {
24
- noInlineStyle: 'Inline styles are not allowed. Use styled components, CSS classes, or design system utilities instead.',
24
+ noInlineStyle: 'The use of inline styles is discouraged consider using styled components, design system utilities, or CSS classes instead.',
25
25
  },
26
26
  type: 'suggestion',
27
27
  schema: [],
@@ -1 +1 @@
1
- {"version":3,"file":"no-inline-style.js","sourceRoot":"","sources":["../src/no-inline-style.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAE1C,kBAAe,IAAA,uBAAU,EAAC;IACxB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,YAAY,CAAC,IAAI;gBACf,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE;oBACpE,OAAO,CAAC,MAAM,CAAC;wBACb,SAAS,EAAE,eAAe;wBAC1B,IAAI;qBACL,CAAC,CAAC;iBACJ;YACH,CAAC;SACF,CAAC;IACJ,CAAC;IACD,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,WAAW,EAAE,OAAO;SACrB;QACD,QAAQ,EAAE;YACR,aAAa,EACX,wGAAwG;SAC3G;QACD,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,EAAE;KACX;IACD,IAAI,EAAE,iBAAiB;CACxB,CAAC,CAAC"}
1
+ {"version":3,"file":"no-inline-style.js","sourceRoot":"","sources":["../src/no-inline-style.ts"],"names":[],"mappings":";;AAAA,6CAA0C;AAE1C,kBAAe,IAAA,uBAAU,EAAC;IACxB,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,YAAY,CAAC,IAAI;gBACf,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO,EAAE;oBACpE,OAAO,CAAC,MAAM,CAAC;wBACb,SAAS,EAAE,eAAe;wBAC1B,IAAI;qBACL,CAAC,CAAC;iBACJ;YACH,CAAC;SACF,CAAC;IACJ,CAAC;IACD,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,WAAW,EAAE,8CAA8C;YAC3D,WAAW,EAAE,OAAO;SACrB;QACD,QAAQ,EAAE;YACR,aAAa,EACX,8HAA8H;SACjI;QACD,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,EAAE;KACX;IACD,IAAI,EAAE,iBAAiB;CACxB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-gamut",
3
3
  "description": "Shared eslint plugin for Gamut applications",
4
- "version": "2.3.3-alpha.e5de6b.0",
4
+ "version": "2.4.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@typescript-eslint/utils": "^5.15.0"
@@ -27,5 +27,5 @@
27
27
  "verify": "tsc --noEmit"
28
28
  },
29
29
  "types": "./dist/index.d.ts",
30
- "gitHead": "ab04b7f1ab529b11b5108dd2eba908da0d1a6137"
30
+ "gitHead": "558c0c28228b11f897420367e30f48f6218171db"
31
31
  }