Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Successfully replaced the rule#2757

Draft
HemanthPaila wants to merge 1 commit into
airbnb:masterairbnb/javascript:masterfrom
HemanthPaila:HemanthPaila-Fixed-ChangesHemanthPaila/javascript:HemanthPaila-Fixed-ChangesCopy head branch name to clipboard
Draft

Successfully replaced the rule#2757
HemanthPaila wants to merge 1 commit into
airbnb:masterairbnb/javascript:masterfrom
HemanthPaila:HemanthPaila-Fixed-ChangesHemanthPaila/javascript:HemanthPaila-Fixed-ChangesCopy head branch name to clipboard

Conversation

@HemanthPaila

@HemanthPaila HemanthPaila commented Apr 2, 2023

Copy link
Copy Markdown

Fixes #2689

Duplicate of #2756.

before: 'always',
after: 'always',
}],
// Require or disallow padding lines between statements

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Require or disallow padding lines between statements
// Require or disallow padding lines between statements


// require or disallow newlines around directives
// https://eslint.org/docs/rules/lines-around-directive
'lines-around-directive': ['error', {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't delete an entry, just add the new one

}],
// Require or disallow padding lines between statements
// https://eslint.org/docs/rules/padding-line-between-statements
'padding-line-between-statements': 'off',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a lot of config here that isn't specified. Please include a config that matches the lines-around-directive config we already have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lines-around-directive rule should replaced with padding-line-between-statements

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.