Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 22, 2023
1 parent 328120a commit b82bef7
Show file tree
Hide file tree
Showing 8 changed files with 555 additions and 329 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

40 changes: 40 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
{
"cSpell.words": [
"Birpc"
],

// Enable the ESlint flat config support
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

// Silent the stylistic rules in you IDE, but still auto fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
],

// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml"
]
}
4 changes: 4 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import antfu from '@antfu/eslint-config'

export default antfu({
})
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "birpc",
"type": "module",
"version": "0.2.14",
"packageManager": "pnpm@8.7.1",
"description": "Message based Two-way remote procedure call",
Expand Down Expand Up @@ -42,7 +43,7 @@
"test": "vitest"
},
"devDependencies": {
"@antfu/eslint-config": "^0.41.0",
"@antfu/eslint-config": "^2.1.0",
"@antfu/ni": "^0.21.8",
"@types/node": "^20.5.9",
"bumpp": "^9.2.0",
Expand Down

0 comments on commit b82bef7

Please sign in to comment.