Skip to content

Commit

Permalink
fix: perfer global process
Browse files Browse the repository at this point in the history
  • Loading branch information
GloryWong committed Aug 27, 2024
1 parent 88c0ce8 commit ad3f6e4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 158 deletions.
5 changes: 1 addition & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import antfu from '@antfu/eslint-config'
import perfectionist from 'eslint-plugin-perfectionist'

// https://eslint.vuejs.org/rules/
export default await antfu({
plugins: {
perfectionist,
},
rules: {
'node/prefer-global/process': 'off',
'no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'warn',
'unused-imports/no-unused-vars': [
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@types/node": "^20.14.14",
"eslint": "^9.8.0",
"lint-staged": "^15.2.8",
"perfectionist": "^2.4.0",
"rimraf": "^6.0.1",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.5.4",
Expand Down
Loading

0 comments on commit ad3f6e4

Please sign in to comment.