mirror of
https://github.com/oxalica/nil.git
synced 2025-10-05 16:22:44 +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": {
|
||||
"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",
|
||||
"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"
|
||||
@@ -24,16 +24,15 @@
|
||||
"semi": true
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
||||
"@typescript-eslint/parser": "^5.62.0",
|
||||
"coc.nvim": "^0.0.82",
|
||||
"esbuild": "^0.18.20",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^8.10.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"prettier": "^2.8.8",
|
||||
"rimraf": "^5.0.10",
|
||||
"typescript": "^4.9.5"
|
||||
"@eslint/js": "^9.21.0",
|
||||
"coc.nvim": "^0.0.83-next.19",
|
||||
"esbuild": "^0.25.0",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-config-prettier": "^10.0.2",
|
||||
"prettier": "^3.5.3",
|
||||
"rimraf": "^6.0.1",
|
||||
"typescript": "^5.8.2",
|
||||
"typescript-eslint": "^8.26.0"
|
||||
},
|
||||
"activationEvents": [
|
||||
"onLanguage:nix"
|
||||
|
Reference in New Issue
Block a user