Enable automatic linting and formatting for spreadsheet modules. `o_spreadsheet.js` lib file should not be checked since the file comes from an external library (`o-spreadsheet`) closes odoo/odoo#97393 Signed-off-by: Samuel Degueldre <sad@odoo.com>
96 lines
1.9 KiB
Plaintext
96 lines
1.9 KiB
Plaintext
# Ignore everything
|
|
*
|
|
|
|
# Whitelist web and board
|
|
!addons
|
|
addons/*
|
|
!addons/web
|
|
!addons/web/**/*
|
|
!addons/board
|
|
!addons/board/**/*
|
|
|
|
# Whitelist web_enterprise
|
|
!web_enterprise
|
|
!web_enterprise/**/*
|
|
|
|
# Whitelist web_studio
|
|
!web_studio
|
|
!web_studio/**/*
|
|
|
|
# BlackList libs
|
|
addons/web/static/lib
|
|
|
|
# Ignore everything in web legacy but the top level (adapters)
|
|
addons/web/static/src/legacy/**/*
|
|
!addons/web/static/src/legacy
|
|
!addons/web/static/src/legacy/*.js
|
|
|
|
# Ignore everything in web_enterprise legacy but the top level (adapters)
|
|
web_enterprise/static/src/legacy/**/*
|
|
!web_enterprise/static/src/legacy
|
|
!web_enterprise/static/src/legacy/*.js
|
|
|
|
# Ignore everything in web_studio legacy but the top level (adapters)
|
|
web_studio/static/src/legacy/**/*
|
|
!web_studio/static/src/legacy
|
|
!web_studio/static/src/legacy/*.js
|
|
|
|
# Ignore all legacy related tests
|
|
addons/web/static/tests/**/legacy/*
|
|
web_enterprise/static/tests/**/legacy/*
|
|
web_studio/static/tests/**/legacy/*
|
|
|
|
# web_dashboard
|
|
# whitelist new code
|
|
!web_dashboard
|
|
!web_dashboard/**/*
|
|
|
|
# blacklist legacy
|
|
web_dashboard/static/src/legacy/**/*
|
|
web_dashboard/static/tests/legacy/**/*
|
|
|
|
# web_cohort
|
|
# whitelist new code
|
|
!web_cohort
|
|
!web_cohort/**/*
|
|
|
|
# blacklist legacy
|
|
web_cohort/static/src/legacy/**/*
|
|
web_cohort/static/tests/legacy/**/*
|
|
|
|
# web_map
|
|
# whitelist new code
|
|
!web_map
|
|
!web_map/**/*
|
|
|
|
# blacklist legacy
|
|
web_map/static/src/legacy/**/*
|
|
web_map/static/tests/legacy/**/*
|
|
|
|
# whitelist base_setup
|
|
!addons/base_setup
|
|
!addons/base_setup/**/*
|
|
|
|
# whitelist purchase
|
|
!addons/purchase
|
|
!addons/purchase/**/*
|
|
|
|
# Whitelist documents_spreadsheet
|
|
!documents_spreadsheet
|
|
!documents_spreadsheet/**/*
|
|
|
|
# Whitelist spreadsheet
|
|
!spreadsheet
|
|
!spreadsheet/**/*
|
|
|
|
# blacklist o-spreadsheet lib
|
|
spreadsheet/static/src/o_spreadsheet/o_spreadsheet.js
|
|
|
|
# Whitelist spreadsheet_edition
|
|
!spreadsheet_edition
|
|
!spreadsheet_edition/**/*
|
|
|
|
# Whitelist spreadsheet_account
|
|
!spreadsheet_account
|
|
!spreadsheet_account/**/*
|