Louis Lam
83969d2112
Update dependencies and embed axios-ntlm 1.3.0 into the project ( #4877 )
5 months ago
Frank Elsinga
77d82ec30f
removed the last reminents of cypress
6 months ago
Louis Lam
996ff28ed9
Playwright + Native Node Test Runner ( #3893 )
12 months ago
Louis Lam
869ee8ec50
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
...
# Conflicts:
# .github/workflows/auto-test.yml
# extra/reset-password.js
# package-lock.json
# package.json
# server/routers/status-page-router.js
# server/server.js
# server/socket-handlers/general-socket-handler.js
# server/uptime-kuma-server.js
# src/components/ActionInput.vue
# src/util.js
# src/util.ts
1 year ago
Adam Stachowicz
74a908a069
Max ESLint warnings 0 ( #4158 )
...
* Fix ESLint warnings. Update workflows. 0 ESLint warnings for auto-test
* json-yaml-validate: Fix `unable to find version `v2``
1 year ago
Louis Lam
03e43ab364
Log color and simplify startup log for production ( #3889 )
1 year ago
Louis Lam
7212d884ef
Enable eslint for util.ts ( #3887 )
...
* Enable eslint for util.ts
* Drop babel (since eslint parser was replaced by typescript-parser and it doesn't seem to be used anywhere)
* Apply "plugin:@typescript-eslint/recommended"
* Minor
* Remove comment for generated file (Keep the first comment only)
1 year ago
Louis Lam
13a799d778
[eslint] space-infix-ops = error
1 year ago
Louis Lam
076331bf00
Uptime calculation improvement and 1-year uptime ( #2750 )
1 year ago
Louis Lam
db3a7d69fe
Change some jsdoc rule to warn instead of error
1 year ago
Matthew Nickson
8a92054c2b
Added JSDoc to ESLint ( #3529 )
...
* Added JSDoc to eslint rules
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
* Fixed JSDoc eslint errors
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
* Update the check-linters workflow to Node.js 20
---------
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
1 year ago
Adam Stachowicz
1e595eaa76
Update linters
3 years ago
Louis Lam
303a226ab7
Update eslint rule
3 years ago
Louis Lam
47c72192e1
[eslint] Enable yoda and eqeqeq
3 years ago
Louis Lam
d71c086447
Standardize array bracket spacing
3 years ago
Louis Lam
1bc01d1077
Merge branch 'master' into customstatuspage
...
# Conflicts:
# src/languages/de-DE.js
3 years ago
Louis Lam
8d8c38b1a8
Allow unused vars in args and fix more eslint issues
3 years ago
Louis Lam
649f3106e1
Enforce semicolon, fix format globally
3 years ago
Louis Lam
81de2eedfb
Fix template can contain one tag only, disable vue/require-component-is eslint rule
3 years ago
LouisLam
a2a4c70cf5
setup jest-puppeteer
3 years ago
LouisLam
fd95d41d9f
[status page] many update and save group list
3 years ago
LouisLam
9b8f01cfc6
since eslint can auto fix semicolon, standardize all end with semicolon
3 years ago
LouisLam
579e07ded4
Merge branch 'master' into public-dashboard
3 years ago
Adam Stachowicz
79920b5f2c
Fix languages after 80322cbfe7
...
Fix ESLint deprecated warning. Update `README.md` for languages. Update `update-language-files` script
3 years ago
LouisLam
db05b506f3
[status page] checkpoint
3 years ago
LouisLam
7df9698e5d
eslint: comma-dangle for language files
3 years ago
LouisLam
da74391c3e
convert notifications into modules
3 years ago
LouisLam
a41534ca60
no declare vars with comma, one line only one statement
3 years ago
LouisLam
564bc96735
eslint: camelcase rule do not check properties, because it could be database field name
3 years ago
LouisLam
682e4d45e2
eslint for notification.js
3 years ago
LouisLam
8e726da82a
eslint: add camelcase rule
3 years ago
LouisLam
362eabab8d
allow empty block for catch
3 years ago
LouisLam
e0ae9a9e73
improve space-before-function-paren
3 years ago
LouisLam
764160f38c
add eslint: space-before-function-paren
3 years ago
LouisLam
c990edc87d
allowElseIf for else return, since its auto fix removes "else" but without newline
3 years ago
LouisLam
7f42888546
fix eslint for vue ( https://github.com/louislam/uptime-kuma/pull/121#issuecomment-889729900 )
3 years ago
LouisLam
659d83b13c
turn off vue/html-self-closing, empty div should be allowed
3 years ago
LouisLam
4b93900866
fix eslint for vue ( https://github.com/louislam/uptime-kuma/pull/121#issuecomment-889729900 )
3 years ago
LouisLam
06377af7e5
turn off object-curly-newline, it makes const { a, b, c, d } = require(...) ugly
3 years ago
LouisLam
e032072900
eslint: allow while (true)
3 years ago
Nelson Chan
cdaa0a54a4
Fix: use new version of babel-eslint-parser
3 years ago
Nelson Chan
1006b37a67
Fix: Add fix for babel-eslist
3 years ago
Nelson Chan
b91e9ddb7a
Fix: Add babel-eslint
3 years ago
Nelson Chan
be22fcb87d
Fix: Bump ES version in ESlint config
3 years ago
LouisLam
e6915d8964
unexpected space add to router-link due vue/singleline-html-element-content-newline, set it to off
3 years ago
LouisLam
3666ebb931
change no-unused-vars from error to warn
3 years ago
Adam Stachowicz
3c6af6d3f4
Add ESLint and StyleLint
3 years ago