Skip to content
Snippets Groups Projects

Create ESLint configuration files

Merged Ghost User requested to merge CapacitorSet:experimental into experimental

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Contributor

    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 to master (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!

Please register or sign in to reply
Loading