Update npm dependencies

This commit is contained in:
oxalica
2025-03-04 13:58:12 -05:00
committed by oxalica
parent e04b043270
commit 65317e79cc
6 changed files with 1110 additions and 992 deletions

View File

@@ -1,16 +0,0 @@
module.exports = {
env: {
node: true,
},
parser: '@typescript-eslint/parser',
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
};

View File

@@ -0,0 +1 @@
*.md

View File

@@ -0,0 +1,4 @@
{
"printWidth": 120,
"semi": true
}

View File

@@ -0,0 +1,27 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import prettierConfig from 'eslint-config-prettier';
// prettier-ignore
export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommended,
prettierConfig,
);
// module.exports = {
// env: {
// node: true,
// },
// parser: '@typescript-eslint/parser',
// extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
// rules: {
// '@typescript-eslint/ban-ts-comment': 'off',
// '@typescript-eslint/no-explicit-any': 'off',
// '@typescript-eslint/no-non-null-assertion': 'off',
// '@typescript-eslint/no-namespace': 'off',
// '@typescript-eslint/no-empty-function': 'off',
// '@typescript-eslint/explicit-function-return-type': 'off',
// '@typescript-eslint/explicit-module-boundary-types': 'off',
// },
// };

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@
}, },
"scripts": { "scripts": {
"clean": "rimraf lib", "clean": "rimraf lib",
"lint": "eslint src --ext ts", "lint": "eslint src --ext ts && prettier --check .",
"build": "esbuild src/main.ts --bundle --platform=node --target=node14 --external:coc.nvim --outdir=lib --color=false", "build": "esbuild src/main.ts --bundle --platform=node --target=node14 --external:coc.nvim --outdir=lib --color=false",
"watch": "esbuild src/main.ts --bundle --platform=node --target=node14 --external:coc.nvim --outdir=lib --color=false --watch", "watch": "esbuild src/main.ts --bundle --platform=node --target=node14 --external:coc.nvim --outdir=lib --color=false --watch",
"prepare": "npm run clean && npm run build" "prepare": "npm run clean && npm run build"
@@ -24,16 +24,15 @@
"semi": true "semi": true
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0", "@eslint/js": "^9.21.0",
"@typescript-eslint/parser": "^5.62.0", "coc.nvim": "^0.0.83-next.19",
"coc.nvim": "^0.0.82", "esbuild": "^0.25.0",
"esbuild": "^0.18.20", "eslint": "^9.21.0",
"eslint": "^8.57.0", "eslint-config-prettier": "^10.0.2",
"eslint-config-prettier": "^8.10.0", "prettier": "^3.5.3",
"eslint-plugin-prettier": "^4.2.1", "rimraf": "^6.0.1",
"prettier": "^2.8.8", "typescript": "^5.8.2",
"rimraf": "^5.0.10", "typescript-eslint": "^8.26.0"
"typescript": "^4.9.5"
}, },
"activationEvents": [ "activationEvents": [
"onLanguage:nix" "onLanguage:nix"