-
Notifications
You must be signed in to change notification settings - Fork 160
Improve eslint #171
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
Improve eslint #171
Conversation
.eslintrc.js
Outdated
| } | ||
| ], | ||
| "semi": "error" | ||
| semi: "error" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rzr you commented:
please explain why this was changed ?
As file content is json, quotes are not required here.
b4911cf to
7093683
Compare
| "scripts": { | ||
| "lint": "eslint '**/*.js'", | ||
| "lint": "eslint \"**/*.js\"", | ||
| "lint-fix": "eslint \"**/*.js\" --fix", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use \" to be able to run on windows env.
|
Please add a change to ignore modules too ie : https://github.com/abandonware/noble/pull/171/checks?check_run_id=1844386700# |
|
This error is not linked to eslint but to node 8 build. Should I do in this PR or in a separate one? |
|
With eslint 7, node 8 is no longer supported https://eslint.org/docs/user-guide/migrating-to-7.0.0#nodejs-8-is-no-longer-supported |
7093683 to
aab527b
Compare
|
And |
aab527b to
b76fa34
Compare
|
Ok I changed |
|
sounds good to me |
rzr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please open new pr with this change : b76fa34#diff-b29da93bc686f97c01ba07c233850a8c2a21d53cbe9bfc153f905640106da66b and then your eslint fixes then you can rebase everything to make sure nothing break
6c0bcdc to
1dde9ab
Compare
rzr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rebase with only eslint changes
1dde9ab to
5d59bf4
Compare
|
Done :) |
Based on #155 comment: split PR eslint first :)