chore(v2): fix code style (revert previous changes)

This commit is contained in:
Alexey Pyltsyn 2020-04-05 17:38:12 +03:00
parent 1480a7eb80
commit 1f00d15c74
143 changed files with 457 additions and 458 deletions

View file

@ -12,7 +12,7 @@ const messages = stylelint.utils.ruleMessages(ruleName, {
rejected: 'Missing copyright in the header comment',
});
module.exports = stylelint.createPlugin(ruleName, actual => {
module.exports = stylelint.createPlugin(ruleName, (actual) => {
return (root, result) => {
const validOptions = stylelint.utils.validateOptions(result, ruleName, {
actual,
@ -22,7 +22,7 @@ module.exports = stylelint.createPlugin(ruleName, actual => {
return;
}
root.walkComments(comment => {
root.walkComments((comment) => {
// Ignore root comments with copyright text.
if (
comment === comment.parent.first &&