Update eslint rules
See original GitHub issueFollowing @etpinard’s https://github.com/plotly/plotly.js/pull/3158#discussion_r228292109, we should probably update our linter syntax to reflect the current coding style.
In particular we should probably add "one-var": { "initialized": "never", "uninitialized": "consecutive" }
and fix any possible errors.
Update: the "initialized"
part got done in https://github.com/plotly/plotly.js/pull/3374
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Configuring ESLint - ESLint - Pluggable JavaScript Linter
ESLint is designed to be flexible and configurable for your use case. You can turn off every rule and run only with basic...
Read more >Rules - ESLint - Pluggable JavaScript Linter
ESLint comes with a large number of built-in rules and you can add more rules through plugins. You can modify which rules your...
Read more >Rules - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Configuration Files - ESLint - Pluggable JavaScript Linter
ESLint supports adding shared settings into configuration files. Plugins use ...
Read more >Working with Rules - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Potential rule: https://eslint.org/docs/rules/max-statements-per-line
I’m a fan 👌 Does anyone object?