Skip to content
Snippets Groups Projects

(eslint): update config to handle ES modules and Odoo JSDoc tags

Merged oury.balde requested to merge topic/18.0/ob into branch/18.0
  1. Feb 06, 2025
    • oury.balde's avatar
      (eslint): update config to handle ES modules and Odoo JSDoc tags · 24827a60
      oury.balde authored
      - Remove deprecated .eslintrc.yml file following Odoo v18 module
          template(odoo_module) recommendations.
      
      - Make ESLINT happy by fixing:
      
          9:64  warning  Unexpected comment inline with code                          no-inline-comments
          50:17  error    Variable 'placeholder' should be initialized on declaration  init-declarations
          57:21  warning  Unexpected lexical declaration in case block                 no-case-declarations
          69:13  warning  Comments should not begin with a lowercase character         capitalized-comments
          70:45  error    'InputEvent' is not defined                                  no-undef
          71:45  error    'KeyboardEvent' is not defined                               no-undef
      24827a60
    • Vincent Hatakeyama's avatar
      :shirt: eslint · 81d56a81
      Vincent Hatakeyama authored
      81d56a81
Loading