Skip to content

Commit

Permalink
Switch to ESLint recommended
Browse files Browse the repository at this point in the history
  • Loading branch information
weeman1337 committed Oct 7, 2023
1 parent 76753bf commit 2417eea
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 1,125 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"parserOptions": {
"sourceType": "module"
},
"env": {
"browser": true,
"es2020": true,
"node": true
},
"extends": ["eslint:recommended", "prettier"],
"rules": {
"no-undef": "off",
"no-prototype-builtins": "off",
"no-useless-escape": "off"
}
}
15 changes: 0 additions & 15 deletions .eslintrc.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Thumbs.db
/config.js
*.zip
/dev-dist
/public/config.json
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ It is recommended to use the latest release:

- Clone this repository
- Run `npm install`
- Place your config file in `public/config.json`.
You can copy the example config for testing/development: `cp config.example.json public`.
- Run `npm run build`
- A production build can then be found in [`/build`](./build)

Expand All @@ -34,7 +36,7 @@ docker run -it --rm -v "$PWD/build":/usr/share/nginx/html -p 8080:80 --name ngin
```

The map is reachable at [localhost:8080](http://localhost:8080).
You have to copy `config.example.json` to `build/config.json`.
You have to copy `config.example.json` to `public/config.json`:

Start a development environment:

Expand Down
Loading

0 comments on commit 2417eea

Please sign in to comment.