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 +1 -0
- package/dist/no-inline-style.js +1 -1
- package/dist/no-inline-style.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/no-inline-style.js
CHANGED
|
@@ -21,7 +21,7 @@ exports.default = (0, createRule_1.createRule)({
|
|
|
21
21
|
recommended: 'error',
|
|
22
22
|
},
|
|
23
23
|
messages: {
|
|
24
|
-
noInlineStyle: '
|
|
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,
|
|
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.
|
|
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": "
|
|
30
|
+
"gitHead": "558c0c28228b11f897420367e30f48f6218171db"
|
|
31
31
|
}
|