Document where new linting rules go (#23035)

Co-authored-by: Michael Weimann <michaelw@matrix.org>
This commit is contained in:
3nprob 2022-08-09 14:15:36 +00:00 committed by GitHub
parent 4b6d9a067b
commit 847e6b03cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,8 @@ module.exports = {
"plugin:matrix-org/typescript", "plugin:matrix-org/typescript",
"plugin:matrix-org/react", "plugin:matrix-org/react",
], ],
// NOTE: These rules are frozen and new rules should not be added here.
// New changes belong in https://github.com/matrix-org/eslint-plugin-matrix-org/
rules: { rules: {
// Things we do that break the ideal style // Things we do that break the ideal style
"prefer-promise-reject-errors": "off", "prefer-promise-reject-errors": "off",