Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint: rename .eslintrc to .eslintrc.yml #3561

Closed
wants to merge 2 commits into from

Conversation

hiroppy
Copy link
Contributor

@hiroppy hiroppy commented Feb 13, 2018

.eslintrc is deprecated.
See https://eslint.org/docs/user-guide/configuring#configuration-file-formats.

I changed to .eslintrc.yaml because Node is using Yaml.(nodejs/node#7699)

@dougwilson
Copy link
Contributor

Nice, didn't even know this! Is it possible to name it .eslintrc.yml to match .travis.yml?

@dougwilson dougwilson added the pr label Feb 13, 2018
.eslintrc.yaml Outdated
eol-last: error
indent: [error, 2, {SwitchCase: 1}]
no-trailing-spaces: error
no-unused-vars: [error, {vars: all, args: none, ignoreRestSiblings: true }]
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a space before the ending } but the space isn't balanced on the other side.

@hiroppy hiroppy force-pushed the feature/rename-eslintrc branch 2 times, most recently from 960bc43 to 8afd9e8 Compare February 13, 2018 19:33
@hiroppy
Copy link
Contributor Author

hiroppy commented Feb 13, 2018

@dougwilson PTAL;)

@hiroppy hiroppy changed the title lint: rename .eslintrc to .eslintrc.yaml lint: rename .eslintrc to .eslintrc.yml Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants