Skip to content

Add ESLint recommendations#782

Open
dopry wants to merge 1 commit intojohnpapa:masterfrom
dopry:eslint
Open

Add ESLint recommendations#782
dopry wants to merge 1 commit intojohnpapa:masterfrom
dopry:eslint

Conversation

@dopry
Copy link
Copy Markdown

@dopry dopry commented Oct 7, 2016

This is the output of the recommended jshint and jscs options after passing through polyjuice. I also added a .eslintrc which can be downloaded from the repo as well.

Let me know if this is acceptable or if I should make any additional refinements.

closes #770
closes #696
partially addresses #732, but JSCS should probably be removed from the styleguide after a deprecation period since it is not a part of ESLint.

@AdriVanHoudt
Copy link
Copy Markdown

Why not reference https://www.npmjs.com/package/eslint-plugin-angular?

@dopry
Copy link
Copy Markdown
Author

dopry commented Oct 28, 2016

Because it's much simpler to convert the existing jshint rules to eslint
and doesn't add as many additional dependencies to a project. Feel free to
submit a PR with eslint-plugin-angular if you think it's a better solution.

On Oct 24, 2016 5:44 AM, "Adri Van Houdt" notifications@github.com wrote:

Why not reference https://www.npmjs.com/package/eslint-plugin-angular?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#782 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXqOGZ0tAqf81ImvlTRC7PPG5RJnOVXks5q3IvigaJpZM4KRcAA
.

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.

eslint configuration Eslint Options File

2 participants