File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ const config = [
8282 "rules" : {
8383 "@stylistic/array-element-newline" : "off" ,
8484 "@stylistic/indent" : [ "error" , 2 ] ,
85- "no-magic-numbers" : "off"
85+ "no-magic-numbers" : "off" ,
86+ "one-var" : "off"
8687 }
8788 }
8889] ;
Original file line number Diff line number Diff line change 1+ const pattern = "^(MMM-CalendarExt2|CX2|fake_module|module-content|[a-z][a-zA-Z0-9]+(_\\d+)?)$" ;
12const config = {
23 "extends" : [ "stylelint-config-standard" ] ,
34 "plugins" : [ "stylelint-prettier" ] ,
45 "root" : true ,
56 "rules" : {
67 "declaration-block-no-redundant-longhand-properties" : null ,
7- "keyframes-name-pattern" : "^(MMM-CalendarExt2|CX2|fake_module|module-content|[a-z][a-zA-Z0-9]+(_\\d+)?)$" ,
8+ "keyframes-name-pattern" : pattern ,
89 "no-descending-specificity" : null ,
910 "prettier/prettier" : true ,
1011 "rule-empty-line-before" : null ,
11- "selector-class-pattern" : "^(MMM-CalendarExt2|CX2|fake_module|module-content|[a-z][a-zA-Z0-9]+(_\\d+)?)$"
12+ "selector-class-pattern" : pattern
1213 }
1314} ;
1415
You can’t perform that action at this time.
0 commit comments