Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jefflee-figma committed Feb 23, 2024
1 parent 24c377c commit 31138c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/stylistic-type-checked',
],
ignorePatterns: ['dist/', 'node_modules/', 'test/fixture', '**/*.js'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI checks
on: [push]

jobs:
build:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -14,9 +14,9 @@ jobs:
- name: Typecheck
run: npm run typecheck
- name: Lint code
run: npm run lint:js
run: npm run lint
- name: Lint docs
run: npm run lint:eslint-docs
run: npm run lint:docs
- name: Tests
run: npm run test
- name: Check that commit contains build artifacts
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"clean": "rm -rf dist",
"test": "jest test/",
"test-workaround": "jest --detect-open-handles test/",
"lint:eslint-docs": "npm run update:eslint-docs -- --check",
"lint:js": "eslint .",
"lint": "eslint .",
"lint:docs": "npm run update:eslint-docs -- --check",
"typecheck": "tsc --noEmit",
"update:eslint-docs": "eslint-doc-generator"
},
Expand Down

0 comments on commit 31138c6

Please sign in to comment.