AmadeusITGroup / otter

The Otter project is a highly modular framework whose goal is to provide a common platform to accelerate and facilitate the development of runtime customizable Angular based Web Applications

Home Page:https://amadeusitgroup.github.io/otter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: lint errors on new Otter applications and libraries

vscaiceanu-1a opened this issue · comments

Package name

create, eslint-config-otter

Package version

10.1.7

Reproduction steps

Assume #1661 is fixed.

npm create @o3r otter-project
cd otter-project
ng add @o3r/eslint-config-otter
ng g application webapp
# choose preset BASIC, no Jest and no Playwright when prompted
ng g library mylib
npm run ng lint

Current result

for the app:

✖ 9 problems (9 errors, 0 warnings)
  5 errors and 0 warnings potentially fixable with the `--fix` option.

Lint errors found in the listed files.

for the lib:

✖ 2 problems (2 errors, 0 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

Lint errors found in the listed files.

Expected result

All files pass linting.

Additional comments

We also have to write IT tests to make sure there are no lint errors for apps and libs.