Skip to content

Commit 4f62539

Browse files
committed
Basic functionality
0 parents  commit 4f62539

15 files changed

+1588
-0
lines changed

.eslintrc

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"jsx": true,
5+
"useJSXTextNode": true,
6+
"ecmaVersion": 2018,
7+
"sourceType": "module",
8+
"project": "./tsconfig.json"
9+
},
10+
"ignorePatterns": [
11+
"/out"
12+
],
13+
"plugins": [
14+
"@typescript-eslint",
15+
"roblox-ts",
16+
"prettier"
17+
],
18+
"extends": [
19+
"eslint:recommended",
20+
"plugin:@typescript-eslint/recommended",
21+
"plugin:roblox-ts/recommended",
22+
"plugin:prettier/recommended"
23+
],
24+
"rules": {
25+
"prettier/prettier": "warn"
26+
}
27+
}

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/node_modules
2+
/out
3+
/include
4+
old.lua
5+
.DS_Store
6+
*.tsbuildinfo

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"printWidth": 120,
3+
"tabWidth": 4,
4+
"trailingComma": "all",
5+
"useTabs": true
6+
}

.vscode/extensions.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"roblox-ts.vscode-roblox-ts",
4+
"dbaeumer.vscode-eslint"
5+
]
6+
}

.vscode/settings.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"files.eol": "\n",
4+
"[typescript]": {
5+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
6+
"editor.formatOnSave": true
7+
},
8+
"[typescriptreact]": {
9+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
10+
"editor.formatOnSave": true
11+
},
12+
"eslint.run": "onType",
13+
"eslint.format.enable": true
14+
}

aftman.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
rojo = "rojo-rbx/[email protected]"

default.project.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Control",
3+
"globIgnorePaths": ["**/package.json", "**/tsconfig.json"],
4+
"tree": {
5+
"$path": "out",
6+
"include": {
7+
"$path": "include",
8+
"node_modules": {
9+
"$className": "Folder",
10+
"@rbxts": {
11+
"$path": "node_modules/@rbxts"
12+
}
13+
}
14+
}
15+
}
16+
}

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Control-Client",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"transpile": "rbxtsc",
8+
"build": "rojo build -o out/Control-Client.rbxm",
9+
"watch": "rbxtsc -w"
10+
},
11+
"keywords": [],
12+
"author": "",
13+
"license": "ISC",
14+
"devDependencies": {
15+
"@rbxts/compiler-types": "2.0.4-types.1",
16+
"@rbxts/types": "^1.0.654",
17+
"@typescript-eslint/eslint-plugin": "^5.46.1",
18+
"@typescript-eslint/parser": "^5.46.1",
19+
"eslint": "^8.30.0",
20+
"eslint-config-prettier": "^8.5.0",
21+
"eslint-plugin-prettier": "^4.2.1",
22+
"eslint-plugin-roblox-ts": "^0.0.35",
23+
"prettier": "^2.8.1",
24+
"typescript": "^4.9.4"
25+
},
26+
"dependencies": {
27+
"@rbxts/services": "^1.5.1"
28+
}
29+
}

0 commit comments

Comments
 (0)