Skip to content

Commit

Permalink
feat(stylelint-config): marked public by default
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jun 6, 2024
1 parent 111acf8 commit 2a9b1de
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ function checkImplicitPublic(context, node) {
range = [end + 1, end + 2];
}

const marked =
hasPublicDecorators || hasFieldInInterfaces || hasFieldInParentClass
? ` public `
: ` protected `;
const marked = ` public `;

context.report({
fix: fixer => fixer.insertTextBeforeRange(range, marked),
Expand Down

0 comments on commit 2a9b1de

Please sign in to comment.