diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index fed608bd6..0cc53ff34 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -143,3 +143,23 @@ jobs: env: CI: true working-directory: ./modules/ui + + linters_ui: + permissions: {} + name: ESLint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: 18.13.0 + - name: Install dependencies + run: npm install && npm ci + working-directory: ./modules/ui + - name: Run ESLint + run: npm run lint + working-directory: ./modules/ui + - name: Run format check + run: npm run format + working-directory: ./modules/ui \ No newline at end of file diff --git a/modules/ui/tsconfig.json b/modules/ui/tsconfig.json index 1301bf238..8901ce8c6 100644 --- a/modules/ui/tsconfig.json +++ b/modules/ui/tsconfig.json @@ -19,12 +19,12 @@ "target": "ES2022", "module": "ES2022", "useDefineForClassFields": false, - "lib": ["ES2022", "dom"] + "lib": ["ES2022", "dom"], }, "angularCompilerOptions": { "enableI18nLegacyMessageIdFormat": false, "strictInjectionParameters": true, "strictInputAccessModifiers": true, - "strictTemplates": true - } + "strictTemplates": true, + }, }