Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

fix(eslint-plugin): handleconst;#633

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bradzacher merged 2 commits intomasterfromempty-variable-declaration
Jun 28, 2019

Conversation

bradzacher
Copy link
Member

Fixes#441

eyedean, tnagorra, Molunerfinn, and anoriqq reacted with heart emojieyedean reacted with rocket emoji
@bradzacherbradzacher added the bugSomething isn't working labelJun 21, 2019
@@ -175,6 +175,15 @@ export default util.createRule<Options, MessageIds>({
}
},

VariableDeclaration(node: TSESTree.VariableDeclaration) {
// https://github.com/typescript-eslint/typescript-eslint/issues/441
if (node.declarations.length === 0) {

Choose a reason for hiding this comment

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

👏👏👏
I faced the exact same issue and debugging the code I was right here to add this! Thanks for being on top of it. <3@bradzacher

@codecov
Copy link

codecovbot commentedJun 28, 2019

Codecov Report

Merging#633 intomaster willdecrease coverage by0.03%.
The diff coverage is71.42%.

@@            Coverage Diff             @@##           master     #633      +/-   ##==========================================- Coverage   94.37%   94.33%   -0.04%==========================================  Files         109      109                Lines        4535     4540       +5       Branches     1252     1254       +2     ==========================================+ Hits         4280     4283       +3- Misses        148      149       +1- Partials      107      108       +1
Impacted FilesCoverage Δ
...nt-plugin/src/rules/consistent-type-definitions.ts90% <ø> (ø)⬆️
...nt-plugin/src/rules/indent-new-do-not-use/index.ts98.39% <0%> (-0.53%)⬇️
packages/eslint-plugin/src/rules/indent.ts92.3% <100%> (+0.64%)⬆️
packages/eslint-plugin/src/rules/prefer-for-of.ts88.57% <100%> (ø)⬆️

@bradzacherbradzacher merged commit430d628 intomasterJun 28, 2019
@bradzacherbradzacher deleted the empty-variable-declaration branchJune 28, 2019 15:32
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsApr 21, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@eyedeaneyedeaneyedean left review comments

Assignees
No one assigned
Labels
bugSomething isn't working
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

ESLint: Cannot read property 'loc' of undefined. Please see the 'ESLint' output channel for details.
2 participants
@bradzacher@eyedean

[8]ページ先頭

©2009-2025 Movatter.jp