Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
congminh1254 committed Dec 5, 2024
1 parent 2ce1143 commit 92fbffe
Show file tree
Hide file tree
Showing 26 changed files with 827 additions and 1,236 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
tmp/
coverage/
10 changes: 5 additions & 5 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ globals:
plugins:
- promise
- unicorn
- node
- n

extends:
- 'eslint:recommended'
- 'plugin:promise/recommended'
- 'plugin:unicorn/recommended'
- 'plugin:node/recommended'
- 'plugin:n/recommended'
# - 'oclif'
# - 'prettier'
- 'prettier'

rules:

Expand Down Expand Up @@ -330,8 +330,8 @@ rules:
unicorn/no-new-buffer: error

### NODE
node/no-deprecated-api: error
node/exports-style:
n/no-deprecated-api: error
n/exports-style:
- error
- module.exports

Loading

0 comments on commit 92fbffe

Please sign in to comment.