aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/package.json
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 14:42:53 +0200
committerChocobozzz <me@florianbigard.com>2021-08-18 08:35:06 +0200
commit9df52d660feb722404be00a50f3c8a612bec1c15 (patch)
treedde52880fa012874d24c60f64eb596b0a789cc8b /client/package.json
parentadb8809d43648ea0a64d6845bb39aa3bd0e005a6 (diff)
downloadPeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.gz
PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.tar.zst
PeerTube-9df52d660feb722404be00a50f3c8a612bec1c15.zip
Migrate client to eslint
Diffstat (limited to 'client/package.json')
-rw-r--r--client/package.json19
1 files changed, 13 insertions, 6 deletions
diff --git a/client/package.json b/client/package.json
index 1a04106f4..bfbb99dba 100644
--- a/client/package.json
+++ b/client/package.json
@@ -14,10 +14,10 @@
14 }, 14 },
15 "scripts": { 15 "scripts": {
16 "lint": "npm run lint-ts && npm run lint-scss", 16 "lint": "npm run lint-ts && npm run lint-scss",
17 "lint-ts": "tslint --project ./tsconfig.json -c ./tslint.json 'src/app/**/*.ts' 'src/standalone/**/*.ts'", 17 "lint-ts": "eslint --ext .ts src/standalone/**/*.ts && npm run ng lint",
18 "lint-scss": "stylelint 'src/**/*.scss'", 18 "lint-scss": "stylelint 'src/**/*.scss'",
19 "webpack": "webpack", 19 "webpack": "webpack",
20 "tslint": "tslint", 20 "eslint": "eslint",
21 "ng": "ng", 21 "ng": "ng",
22 "webpack-bundle-analyzer": "webpack-bundle-analyzer", 22 "webpack-bundle-analyzer": "webpack-bundle-analyzer",
23 "webdriver-manager": "webdriver-manager", 23 "webdriver-manager": "webdriver-manager",
@@ -27,6 +27,11 @@
27 "typings": "*.d.ts", 27 "typings": "*.d.ts",
28 "devDependencies": { 28 "devDependencies": {
29 "@angular-devkit/build-angular": "^12.0.0", 29 "@angular-devkit/build-angular": "^12.0.0",
30 "@angular-eslint/builder": "12.3.1",
31 "@angular-eslint/eslint-plugin": "12.3.1",
32 "@angular-eslint/eslint-plugin-template": "12.3.1",
33 "@angular-eslint/schematics": "12.3.1",
34 "@angular-eslint/template-parser": "12.3.1",
30 "@angular/animations": "^12.0.0", 35 "@angular/animations": "^12.0.0",
31 "@angular/cdk": "^12.0.0", 36 "@angular/cdk": "^12.0.0",
32 "@angular/cli": "^12.0.0", 37 "@angular/cli": "^12.0.0",
@@ -64,17 +69,22 @@
64 "@types/sha.js": "^2.4.0", 69 "@types/sha.js": "^2.4.0",
65 "@types/video.js": "^7.3.8", 70 "@types/video.js": "^7.3.8",
66 "@types/webtorrent": "^0.109.0", 71 "@types/webtorrent": "^0.109.0",
72 "@typescript-eslint/eslint-plugin": "4.28.2",
73 "@typescript-eslint/parser": "4.28.2",
67 "angular2-hotkeys": "^2.1.2", 74 "angular2-hotkeys": "^2.1.2",
68 "angularx-qrcode": "11.0.0", 75 "angularx-qrcode": "11.0.0",
69 "bootstrap": "^4.1.3", 76 "bootstrap": "^4.1.3",
70 "buffer": "^6.0.3", 77 "buffer": "^6.0.3",
71 "cache-chunk-store": "^3.0.0", 78 "cache-chunk-store": "^3.0.0",
72 "chart.js": "^2.9.3", 79 "chart.js": "^2.9.3",
73 "codelyzer": "^6.0.0",
74 "core-js": "^3.1.4", 80 "core-js": "^3.1.4",
75 "css-loader": "^6.2.0", 81 "css-loader": "^6.2.0",
76 "debug": "^4.3.1", 82 "debug": "^4.3.1",
77 "dexie": "^3.0.0", 83 "dexie": "^3.0.0",
84 "eslint": "^7.26.0",
85 "eslint-plugin-import": "latest",
86 "eslint-plugin-jsdoc": "latest",
87 "eslint-plugin-prefer-arrow": "latest",
78 "focus-visible": "^5.0.2", 88 "focus-visible": "^5.0.2",
79 "hls.js": "^1.0.7", 89 "hls.js": "^1.0.7",
80 "html-loader": "^2.1.2", 90 "html-loader": "^2.1.2",
@@ -112,9 +122,6 @@
112 "terser-webpack-plugin": "^5.1.2", 122 "terser-webpack-plugin": "^5.1.2",
113 "ts-loader": "^9.2.2", 123 "ts-loader": "^9.2.2",
114 "tslib": "^2.0.0", 124 "tslib": "^2.0.0",
115 "tslint": "~6.1.0",
116 "tslint-angular": "^3.0.2",
117 "tslint-config-standard": "^9.0.0",
118 "typescript": "~4.3.4", 125 "typescript": "~4.3.4",
119 "video.js": "^7", 126 "video.js": "^7",
120 "videojs-contextmenu-pt": "^5.4.1", 127 "videojs-contextmenu-pt": "^5.4.1",