linter + configs

This commit is contained in:
Danya H 2025-07-08 22:48:53 +01:00
parent 43b7d16f9a
commit 563ef864b7
3 changed files with 24 additions and 7 deletions

View File

@ -6,7 +6,8 @@
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false
"ignoreUnknown": false,
"includes": ["**", "!dist/*"]
},
"formatter": {
"enabled": true
@ -14,7 +15,13 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"complexity": {
"noBannedTypes": "info"
},
"suspicious": {
"noExplicitAny": "info"
}
}
},
"javascript": {

View File

@ -1,11 +1,11 @@
{
"name": "@entityseven/fivem-rpc",
"description": "FiveM RPC is an abstraction for events in GTA V FiveM servers in JS/TS",
"description": "FiveM RPC is an abstraction for handling events in GTA V FiveM servers in JS/TS",
"version": "0.1.0",
"main": "",
"types": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"types/**/*",
"dist/**/*",
"readme.md",
"license.md"
],
@ -15,7 +15,6 @@
"fivem",
"gta"
],
"type": "module",
"author": "Entity Seven Group",
"contributors": [
{
@ -25,6 +24,13 @@
}
],
"license": "Custom-Attribution-NoDerivs",
"repository": {
"type": "git",
"url": "https://github.com/rilaxik/fivem-rpc.git"
},
"scripts": {
"build": "tsup"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.47.9",
"@citizenfx/client": "^2.0.15015-1",

View File

@ -24,6 +24,10 @@
}
],
"license": "Custom-Attribution-NoDerivs",
"repository": {
"type": "git",
"url": "https://github.com/rilaxik/fivem-rpc.git"
},
"peerDependencies": {
"typescript": "^5"
}