Skip to content

Commit 2ee5ee8

Browse files
weeman1337skorpy2009
authored andcommitted
Switch to ESLint recommended
1 parent 860cdd9 commit 2ee5ee8

File tree

7 files changed

+125
-1125
lines changed

7 files changed

+125
-1125
lines changed

.eslintrc.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"root": true,
3+
"parserOptions": {
4+
"sourceType": "module"
5+
},
6+
"env": {
7+
"browser": true,
8+
"es2020": true,
9+
"node": true
10+
},
11+
"extends": ["eslint:recommended", "prettier"],
12+
"rules": {
13+
"no-undef": "off",
14+
"no-prototype-builtins": "off",
15+
"no-useless-escape": "off"
16+
}
17+
}

.eslintrc.yml

-15
This file was deleted.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ Thumbs.db
1818
/config.js
1919
*.zip
2020
/dev-dist
21+
/public/config.json

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ It is recommended to use the latest release:
1818

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

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

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

3941
Start a development environment:
4042

0 commit comments

Comments
 (0)