Skip to content

Commit

Permalink
Cleanup, add comments rule
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Sep 10, 2024
1 parent 27277a5 commit f0fa4a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
14 changes: 0 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,6 @@
}
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
Expand Down
1 change: 1 addition & 0 deletions rules/css.rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {
],
fix: true,
rules: {
'comment-empty-line-before': ['always', { ignore: ['after-comment'] }],
'declaration-block-no-duplicate-properties': true,
'declaration-block-no-shorthand-property-overrides': true,
'declaration-block-single-line-max-declarations': 0,
Expand Down

0 comments on commit f0fa4a9

Please sign in to comment.