Create ESLint configuration files
Created by: CapacitorSet
This PR adds an ESLint configuration, which checks for correct formatting and simple mistakes. It also fixes a couple warnings.
To run the checks, it is sufficient to install eslint (npm install --global eslint
) and run eslint --config .eslint.yml .
.
Merge request reports
Activity
Created by: polyzen
Just going to leave this here.. https://github.com/mozilla/addons-linter
Thank you for this fine contribution @CapacitorSet, much appreciated! Now that the dust around
2.0.0
has (somewhat) settled, I'm focusing on shaving off some of the rough edges. This surely helps.Once I have merged your code into the
experimental
branch, I will expand your configuration with rules that were since added tomaster
(cc928e31). External feedback on said rules is welcome, of course.Also, thank you @polyzen, for bringing some attention to the official Firefox Add-ons linter!