Commit graph

26 commits

Author SHA1 Message Date
LouisLam 9b8f01cfc6 since eslint can auto fix semicolon, standardize all end with semicolon 2021-09-16 22:57:34 +08:00
LouisLam 579e07ded4 Merge branch 'master' into public-dashboard 2021-09-16 22:52:05 +08:00
Adam Stachowicz 79920b5f2c Fix languages after 80322cbfe7
Fix ESLint deprecated warning. Update `README.md` for  languages. Update `update-language-files` script
2021-09-15 20:52:39 +02:00
LouisLam db05b506f3 [status page] checkpoint 2021-09-15 14:34:30 +08:00
LouisLam 7df9698e5d eslint: comma-dangle for language files 2021-09-13 00:58:45 +08:00
LouisLam da74391c3e convert notifications into modules 2021-09-07 22:42:46 +08:00
LouisLam a41534ca60 no declare vars with comma, one line only one statement 2021-08-31 22:08:05 +08:00
LouisLam 564bc96735 eslint: camelcase rule do not check properties, because it could be database field name 2021-08-25 01:25:57 +08:00
LouisLam 682e4d45e2 eslint for notification.js 2021-08-25 01:21:06 +08:00
LouisLam 8e726da82a eslint: add camelcase rule 2021-08-24 13:58:52 +08:00
LouisLam 362eabab8d allow empty block for catch 2021-08-21 19:45:29 +08:00
LouisLam e0ae9a9e73 improve space-before-function-paren 2021-08-10 21:59:15 +08:00
LouisLam 764160f38c add eslint: space-before-function-paren 2021-08-10 21:44:29 +08:00
LouisLam c990edc87d allowElseIf for else return, since its auto fix removes "else" but without newline 2021-08-08 02:34:51 +08:00
LouisLam 7f42888546 fix eslint for vue (https://github.com/louislam/uptime-kuma/pull/121#issuecomment-889729900) 2021-07-31 20:42:51 +08:00
LouisLam 659d83b13c turn off vue/html-self-closing, empty div should be allowed 2021-07-31 18:31:17 +08:00
LouisLam 4b93900866 fix eslint for vue (https://github.com/louislam/uptime-kuma/pull/121#issuecomment-889729900) 2021-07-31 14:46:57 +08:00
LouisLam 06377af7e5 turn off object-curly-newline, it makes const { a, b, c, d } = require(...) ugly 2021-07-30 22:11:14 +08:00
LouisLam e032072900 eslint: allow while (true) 2021-07-30 15:13:51 +08:00
Nelson Chan cdaa0a54a4 Fix: use new version of babel-eslint-parser 2021-07-30 12:35:33 +08:00
Nelson Chan 1006b37a67 Fix: Add fix for babel-eslist 2021-07-30 12:33:01 +08:00
Nelson Chan b91e9ddb7a Fix: Add babel-eslint 2021-07-30 12:33:01 +08:00
Nelson Chan be22fcb87d Fix: Bump ES version in ESlint config 2021-07-30 12:33:00 +08:00
LouisLam e6915d8964 unexpected space add to router-link due vue/singleline-html-element-content-newline, set it to off 2021-07-29 01:01:55 +08:00
LouisLam 3666ebb931 change no-unused-vars from error to warn 2021-07-28 20:52:49 +08:00
Adam Stachowicz 3c6af6d3f4 Add ESLint and StyleLint 2021-07-27 19:33:44 +02:00