-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lines-around-directive rule should replaced with padding-line-between… #2756
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure if your editor is set up to run prettier or any autoformatter, that you disable those - formatters should only be ran on a repo where the repo is set up to use one explicitly
@@ -3,532 +3,645 @@ module.exports = { | |||
// enforce line breaks after opening and before closing array brackets | |||
// https://eslint.org/docs/rules/array-bracket-newline | |||
// TODO: enable? semver-major | |||
'array-bracket-newline': ['off', 'consistent'], // object option alternative: { multiline: true, minItems: 3 } | |||
"array-bracket-newline": ["off", "consistent"], // object option alternative: { multiline: true, minItems: 3 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert the unrelated and incorrect formatting (this guide requires JS to use single quotes)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok @ljharb
sir i am closing now and i will make PR again. |
Please reuse this one, and do not create a new one. |
da606cc
to
1764d53
Compare
lines-around-directive
rule should replaced withpadding-line-between-statements
#2689