mirror of
https://github.com/oxalica/nil.git
synced 2025-10-06 00:32:51 +02:00
Update npm dependencies
This commit is contained in:
@@ -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',
|
|
||||||
},
|
|
||||||
};
|
|
1
editors/coc-nil/.prettierignore
Normal file
1
editors/coc-nil/.prettierignore
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.md
|
4
editors/coc-nil/.prettierrc.json
Normal file
4
editors/coc-nil/.prettierrc.json
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"printWidth": 120,
|
||||||
|
"semi": true
|
||||||
|
}
|
27
editors/coc-nil/eslint.config.mjs
Normal file
27
editors/coc-nil/eslint.config.mjs
Normal 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',
|
||||||
|
// },
|
||||||
|
// };
|
2033
editors/coc-nil/package-lock.json
generated
2033
editors/coc-nil/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||||
|
Reference in New Issue
Block a user