Adding ESLint for front part
This commit is contained in:
parent
6da843748e
commit
ca3d113cad
4 changed files with 668 additions and 13 deletions
|
@ -4,6 +4,9 @@
|
|||
"main": "index.js",
|
||||
"license": "AGPL",
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^2.26.0",
|
||||
"@typescript-eslint/parser": "^2.26.0",
|
||||
"eslint": "^6.8.0",
|
||||
"ts-loader": "^6.2.2",
|
||||
"typescript": "^3.8.3",
|
||||
"webpack": "^4.42.1",
|
||||
|
@ -15,6 +18,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --open",
|
||||
"build": "webpack"
|
||||
"build": "webpack",
|
||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue