Scan-o-Matic / scanomatic-standalone

GNU General Public License v3.0
0 stars 0 forks source link

Enable lint directives #133

Open skymandr opened 2 years ago

skymandr commented 2 years ago

📋 Info

We currently disable the following lint directives in .eslintrc.yml:

  import/extensions: "off"
  import/no-extraneous-dependencies: "off"
  jsx-a11y/label-has-for: "off"
  jsx-a11y/label-has-associated-control: "off"
  react/jsx-props-no-spreading: "off"
  react/destructuring-assignment: "off"
  no-promise-executor-return: "off"

of these at least

  import/no-extraneous-dependencies: "off"
  react/jsx-props-no-spreading: "off"
  react/destructuring-assignment: "off"
  no-promise-executor-return: "off"

should probably be active. Note, however, that activating them all will give 400+ new lint errors to deal with.

Some comments:

🏁 DoD