Skip to content

Commit

Permalink
Added ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
EvidentlyCube committed Oct 17, 2023
1 parent 83512ca commit 96b3a96
Show file tree
Hide file tree
Showing 13 changed files with 5,109 additions and 860 deletions.
16 changes: 16 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/strict'],
plugins: ['@typescript-eslint'],

rules: {
'indent': ['error', 'tab', {
SwitchCase: 1
}],
},
globals: {
"$tw": true,
"window": true,
"process": true,
}

};
2 changes: 2 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Lint Playwright tests
run: npm run playwright:lint
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
Expand Down
Loading

0 comments on commit 96b3a96

Please sign in to comment.