Skip to content

Commit

Permalink
ci: audit and upgrade npm packages, update tests, lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
thanhtran-ct committed Oct 1, 2024
1 parent db43975 commit 371ceed
Show file tree
Hide file tree
Showing 11 changed files with 12,476 additions and 5,376 deletions.
14 changes: 5 additions & 9 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'xo-space/esnext',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint'
],
extends: ['xo-space', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'capitalized-comments': 'off',
'prettier/prettier': 'error'
'prettier/prettier': 'error',
'@typescript-eslint/no-require-imports': 'off',
},
env: {
jest: true,
node: true
}
node: true,
},
}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"semi": false,
"singleQuote": true
"singleQuote": true,
"trailingComma": "es5"
}
1 change: 0 additions & 1 deletion bin/run.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-var-requires */
const pleaseUpgradeNode = require('please-upgrade-node')
const pkg = require('../package.json')

Expand Down
Loading

0 comments on commit 371ceed

Please sign in to comment.