diff --git a/.eslintrc.js b/.eslintrc.js index e15d9d5..a65da72 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,8 +1,6 @@ module.exports = { plugins: ["matrix-org"], - extends: [ - "plugin:matrix-org/javascript", - ], + extends: ["plugin:matrix-org/javascript"], parserOptions: { ecmaVersion: 2021, }, @@ -20,19 +18,19 @@ module.exports = { "prefer-promise-reject-errors": "off", "no-async-promise-executor": "off", }, - overrides: [{ - files: ["{src,scripts,hak}/**/*.{ts,tsx}"], - extends: [ - "plugin:matrix-org/typescript", - ], - rules: { - // Things we do that break the ideal style - "prefer-promise-reject-errors": "off", - "quotes": "off", + overrides: [ + { + files: ["{src,scripts,hak}/**/*.{ts,tsx}"], + extends: ["plugin:matrix-org/typescript"], + rules: { + // Things we do that break the ideal style + "prefer-promise-reject-errors": "off", + "quotes": "off", - "@typescript-eslint/no-explicit-any": "off", - // We're okay with assertion errors when we ask for them - "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-explicit-any": "off", + // We're okay with assertion errors when we ask for them + "@typescript-eslint/no-non-null-assertion": "off", + }, }, - }], + ], }; diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b12e372..fd9eaec 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,9 +2,9 @@ ## Checklist -* [ ] Ensure your code works with manual testing -* [ ] Linter and other CI checks pass -* [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/vector-im/element-desktop/blob/develop/CONTRIBUTING.md)) +- [ ] Ensure your code works with manual testing +- [ ] Linter and other CI checks pass +- [ ] Sign-off given on the changes (see [CONTRIBUTING.md](https://github.com/vector-im/element-desktop/blob/develop/CONTRIBUTING.md))