mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
[CL-846] forbid hardcoded colors in svg (#16167)
* add eslint rule to prevent hardcoded colors in svgs * add tests * warn instead of error for now
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
import requireLabelOnBiticonbutton from "./require-label-on-biticonbutton.mjs";
|
||||
import requireThemeColorsInSvg from "./require-theme-colors-in-svg.mjs";
|
||||
|
||||
export default { rules: { "require-label-on-biticonbutton": requireLabelOnBiticonbutton } };
|
||||
export default {
|
||||
rules: {
|
||||
"require-label-on-biticonbutton": requireLabelOnBiticonbutton,
|
||||
"require-theme-colors-in-svg": requireThemeColorsInSvg,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user