Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Cleanup based on ember-suave rules #732

Closed
17 of 21 tasks
btecu opened this issue Oct 12, 2016 · 5 comments
Closed
17 of 21 tasks

Cleanup based on ember-suave rules #732

btecu opened this issue Oct 12, 2016 · 5 comments
Labels
wontfix indicates an issue/pull request will not be worked on

Comments

@btecu
Copy link
Contributor

btecu commented Oct 12, 2016

Continuation of #724.

Plan
Currently, all failing rules are turned off.
The plan is to go and fix all of the errors that the core maintainers agree on and submit those in individual (smaller) pull requests for faster merging and to avoid conflicts.

Changes proposed

Will leave no-console off.

cc @HospitalRun/core-maintainers

@btecu btecu mentioned this issue Oct 12, 2016
21 tasks
@jkleinsc
Copy link
Member

Thanks @btecu!

@amyrlam
Copy link
Contributor

amyrlam commented Nov 14, 2016

Hi, I'll take this one for now if that's ok?

ember-suave/no-direct-property-access: Ember.isNone() -> const { isNone } = Ember; isNone()

aka remove "disallowDirectPropertyAccess": null, EDIT: or start with "disallowDirectPropertyAccess": ["Ember"]

@btecu
Copy link
Contributor Author

btecu commented Nov 14, 2016

@amyrlam Yes, go for it. 😄

@amyrlam
Copy link
Contributor

amyrlam commented Nov 15, 2016

@btecu cool thanks, started a branch

amyrlam added a commit to amyrlam/hospitalrun-frontend that referenced this issue Nov 16, 2016
Resolves: Part of HospitalRun#732
Added rule to .eslintrc

Proposes adding other rules from HospitalRun#732 to .eslintrc so that they will be enforced by linter.
amyrlam added a commit to amyrlam/hospitalrun-frontend that referenced this issue Nov 16, 2016
Re: http://eslint.org/docs/rules/object-curly-spacing

Realized my fork was out of date when started looking at this issue recently. I have previously used ember-suave, just getting started with eslint. 

Since many of the rules outlined in HospitalRun#732 aren’t part of eslint recommended https://github.com/DockYard/eslint-plugin-ember-suave/blob/master/config/recommended.js, I suggest adding the rules to the eslintrc.js so that they are enforced as they are fixed.

If this PR is ok:
- I’ll add the rest of the already completed rules from HospitalRun#732 in a follow-on PR.
- I will go through the remaining rules from HospitalRun#732, and add the rule to the .eslintrc.js as the rules are fixed.
@stale
Copy link

stale bot commented Aug 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix indicates an issue/pull request will not be worked on label Aug 7, 2019
@fox1t fox1t closed this as completed Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix indicates an issue/pull request will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants