Skip to content

Commit 3b4f7ee

Browse files
authored
Merge pull request #29 from etchteam/fix/override-parenthesis-spacing-rule
Update the function-parentheses-space-inside rule to only error for single line
2 parents 14e0f73 + 747c00a commit 3b4f7ee

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
true,
2626
{ ignore: ['attribute'], severity: 'warning' },
2727
],
28+
'@stylistic/function-parentheses-space-inside': 'never-single-line',
2829
},
2930
ignoreFiles: ['node_modules', 'bin', 'obj', '*.*', '!*.css', '!*.scss'],
3031
};

test/test.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
}
3434

3535
diamond-enter {
36-
animation-duration: var(--diamond-transition-duration-enter);
36+
animation-duration: var(
37+
--diamond-transition-duration-enter,
38+
--diamond-transition-enter-delay
39+
);
3740
animation-fill-mode: forwards;
3841
animation-iteration-count: 1;
3942
animation-name: var(--diamond-transition-enter-animation);

0 commit comments

Comments
 (0)