-
Notifications
You must be signed in to change notification settings - Fork 31
Fixing trivial ESLint checks #429
Fixing trivial ESLint checks #429
Conversation
Further improve depth of elements
Replace most fa-icons with material
Fix md-menu forcing scroll when priority notifications visible
package.json
Outdated
"max-len": "warn", | ||
"promise/catch-or-return": "warn", | ||
"promise/always-return": "warn", | ||
|
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.
These are the list of rules that have the most violations. With the misc violations fixed, we can go through one by one to fix these.
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.
Awesome! 🥇
LGTM!
package.json
Outdated
@@ -104,7 +104,7 @@ | |||
"eslintConfig": { | |||
"root": true, | |||
"parserOptions": { | |||
"ecmaVersion": 5 | |||
"ecmaVersion": 6 |
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.
What was causing errors parsing with the ES5 standard?
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.
almost everything is ES5 except tools/uw-frame-static/build.js
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.
and unfortunately I can't change versions of the parser per file, it's a project level thing.
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.
Parser can be changed per folder.
an .eslintrc.yml
or .eslintrc.json
file in a folder will override project level configuration.
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.
also configurations are merged, so only the parserOptions
property would need to be set.
Fixing the grab bag of style misgivings, and pulling in the changes from master.
Contributor License Agreement adherence: