diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aaa47ae..3e8654f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ on: jobs: prettier: - name: Check formatting with Prettier + name: Check formatting runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -23,7 +23,7 @@ jobs: - name: Check formatting run: npm run prettier-check eslint: - name: Run eslint + name: Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -35,3 +35,36 @@ jobs: run: npm ci - name: Run eslint run: npm run lint + webif-prettier: + name: Check web interface formatting + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./webif + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '16.x' + - name: Install dependencies + run: npm ci + - name: Check formatting + run: npm run prettier-check + webif-eslint: + name: Lint web interface + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./webif + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: '16.x' + - name: Install dependencies + run: npm ci + - name: Run eslint + run: npm run lint + diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 406f7bb..dac300d 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -19,6 +19,12 @@