Skip to content

Enable eslint rules that were disabled before refactor#124

Merged
JackWilb merged 6 commits intomasterfrom
re-enable-rule
Dec 14, 2020
Merged

Enable eslint rules that were disabled before refactor#124
JackWilb merged 6 commits intomasterfrom
re-enable-rule

Conversation

@JackWilb
Copy link
Copy Markdown
Member

@JackWilb JackWilb commented Dec 7, 2020

Depends on #121

Closes #117 when we address my line length question
The error thrown for #116 is no longer an issue after #121. This removes the no-mutating-props exception, thus closes #116

I've re-enabled no-mutating-props and no-param-reassign app wide, and have disabled the rule on the specific lines that need it. I also modified the no-underscore-dangle to explicitly allow _id, _from, and _to, since those are the actual values we need from arango, as opposed to disabling the rule entirely.

Also, we have no line length limit at the moment and it's not causing any issues. I think enforcing a line length limit just adds development overhead for refactoring long lines, without much added readability. I'd love to get your thoughts, though. Leaving no line length limits means that our configuration closely matches the same from the multinet-client.

@JackWilb JackWilb changed the base branch from master to re-architect December 7, 2020 23:52
@JackWilb JackWilb requested a review from waxlamp December 8, 2020 00:03
Base automatically changed from re-architect to master December 9, 2020 01:10
waxlamp
waxlamp previously approved these changes Dec 11, 2020
Copy link
Copy Markdown
Contributor

@waxlamp waxlamp left a comment

Choose a reason for hiding this comment

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

Looks good! Approving despite leaving my suggestions, since I'll leave those to your discretion.

Comment thread src/components/MultiLink/MultiLink.vue Outdated
Comment thread src/components/MultiLink/MultiLink.vue
Comment thread src/store/index.ts Outdated
Comment thread src/store/index.ts Outdated
Comment thread src/store/index.ts
@JackWilb
Copy link
Copy Markdown
Member Author

JackWilb commented Dec 11, 2020

Thanks for the thorough review @waxlamp, I've addressed all your comments.

Had to force push to use min, not max

@JackWilb JackWilb merged commit f51e183 into master Dec 14, 2020
@JackWilb JackWilb deleted the re-enable-rule branch December 14, 2020 17:00
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.

Decide whether we should enforce line length limits Refactor the modification of props to emit events

2 participants