[IMP] test_lint: don't check generated code

Part-of: odoo/odoo#85569
This commit is contained in:
Jorge Pinna Puissant
2022-03-02 13:05:41 +00:00
parent 5d5d5d75d5
commit 8cf6643c7b
@@ -28,6 +28,7 @@ class TestESLint(lint_case.LintCase):
files_to_check = [
p for p in self.iter_module_files('**/static/**/*.js')
if not re.match('.*/libs?/.*', p) # don't check libraries
if not re.match('.*/o_spreadsheet/o_spreadsheet.js', p) # don't check generated code
]
eslintrc_path = get_resource_path('test_lint', 'tests', 'eslintrc')