Commit bd11864
authored
style: add prettier and eslint (#328)
* style: execute prettier on all code files
build: add prettier to devDependencies
* refactor: var to const/let
* build: add simple eslint config & packages
* refactor: optimize re-export of "is-ip"
* refactor: optimize re-export of "is-ip"
* chore: update eslint config
* style: execute prettier on all code files
chore: update prettier config
* build: remove eslint-plugin-prettier
* chore: add editorconfig
* chore: update npm eslint script and cleanup eslint config file1 parent e5fddbb commit bd11864
File tree
14 files changed
+1235
-541
lines changed- lib
- test
- bootstrap
- types
14 files changed
+1235
-541
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
0 commit comments