Skip to content

Commit

Permalink
Typescript rewrite (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
totallytavi authored Oct 30, 2023
1 parent c08ef86 commit 4abecce
Show file tree
Hide file tree
Showing 50 changed files with 5,028 additions and 2,480 deletions.
42 changes: 15 additions & 27 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,17 @@
{
"env": {
"commonjs": true,
"es2021": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
]
}
"env": {
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"prettier/prettier": "error"
}
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# NPM
/node_modules

# TypeScript
/dist

# Custom Ignores
/.vscode
latest-error.log
config.json
*.sh
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"endOfLine": "lf",
"printWidth": 120
}
29 changes: 29 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Build & Run IRF:A",
"skipFiles": [
"<node_internals>/**"
],
"preLaunchTask": "npm: prestart",
"cwd": "${workspaceFolder}\\dist",
"program": "index.js",
"env": {
"environment": "development"
}
},
{
"type": "node",
"request": "launch",
"name": "Run IRF:A",
"skipFiles": [
"<node_internals>/**"
],
"cwd": "${workspaceFolder}\\dist",
"program": "index.js"
}
]
}
8 changes: 8 additions & 0 deletions .vscode/pets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"color": "red",
"type": "fox",
"size": "nano",
"name": "Tavi (TaviShadows)"
}
]
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit [http://creativecommons.org/licenses/by-sa/4.0/](http://creativecommons.org/licenses/by-sa/4.0/).
Loading

0 comments on commit 4abecce

Please sign in to comment.