Skip to content

Commit

Permalink
Linter and formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
MsRandom committed Nov 4, 2023
1 parent c7f53fb commit 99469d3
Show file tree
Hide file tree
Showing 18 changed files with 4,237 additions and 951 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
node_modules
21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"env": {
"node": true,
"es2021": true
},
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"project": [
"./odysseus/tsconfig.json",
"./odysseus-bot/tsconfig.json",
"./odysseus-cli/tsconfig.json"
]
}
}
Empty file added .github/workflows/validate.yml
Empty file.
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"overrides": [
{
"files": "*.ts",
"options": {
"tabWidth": 4
}
}
]
}
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Odysseus

A Project Odyssey tool for converting FTB and HQM quest-packs to the [Heracles](https://github.com/terrarium-earth/Heracles) format.

## Usage
Expand All @@ -7,9 +8,9 @@ Set up with `npm install` and `npm run build --workspaces`.

### Via CLI

- Place your `quests` folder (the one containing `data.snbt`) in `odysseus-cli/`
- Run `npm run start --workspace=odysseus-cli -- --input=quests`
- Copy the `output/quests/` folder to your `config/heracles/` folder.
- Place your `quests` folder (the one containing `data.snbt`) in `odysseus-cli/`
- Run `npm run start --workspace=odysseus-cli -- --input=quests`
- Copy the `output/quests/` folder to your `config/heracles/` folder.

### Via Discord Bot

Expand Down
Loading

0 comments on commit 99469d3

Please sign in to comment.