Skip to content

Commit

Permalink
feat(repo): husky lint script on helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobuddy committed Nov 15, 2024
1 parent 9a309b4 commit 4321931
Show file tree
Hide file tree
Showing 13 changed files with 990 additions and 534 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
test:
runs-on: ubuntu-latest

env:
HUSKY: 0

steps:
- name: Checkout source code
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
11 changes: 11 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import globals from 'globals'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'

/** @type {import('eslint').Linter.Config[]} */
export default [
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
...tseslint.configs.recommended
]
Loading

0 comments on commit 4321931

Please sign in to comment.