diff options
author | 2022-08-26 17:19:36 +0200 | |
---|---|---|
committer | 2022-08-26 17:45:20 +0200 | |
commit | d510b07aededd59443e877c4e7c7b6e2b9822dfe (patch) | |
tree | 64e4675ac200d4d85f5818472acd908666758969 /subprojects/frontend/.eslintrc.cjs | |
parent | refactor(frontend): simplify UpdateService further (diff) | |
download | refinery-d510b07aededd59443e877c4e7c7b6e2b9822dfe.tar.gz refinery-d510b07aededd59443e877c4e7c7b6e2b9822dfe.tar.zst refinery-d510b07aededd59443e877c4e7c7b6e2b9822dfe.zip |
refactor(frontend): custom mutex implementation
Lets us track priorities of tasks without cancellation.
Diffstat (limited to 'subprojects/frontend/.eslintrc.cjs')
-rw-r--r-- | subprojects/frontend/.eslintrc.cjs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subprojects/frontend/.eslintrc.cjs b/subprojects/frontend/.eslintrc.cjs index 625aab7a..442ed4cd 100644 --- a/subprojects/frontend/.eslintrc.cjs +++ b/subprojects/frontend/.eslintrc.cjs | |||
@@ -53,6 +53,15 @@ module.exports = { | |||
53 | 'newlines-between': 'always', | 53 | 'newlines-between': 'always', |
54 | }, | 54 | }, |
55 | ], | 55 | ], |
56 | // A dangling underscore, while not neccessary for all private fields, | ||
57 | // is useful for backing fields of properties that should be read-only from outside the class. | ||
58 | 'no-underscore-dangle': [ | ||
59 | 'error', | ||
60 | { | ||
61 | allowAfterThis: true, | ||
62 | allowFunctionParams: true, | ||
63 | }, | ||
64 | ], | ||
56 | // Use prop spreading to conditionally add props with `exactOptionalPropertyTypes`. | 65 | // Use prop spreading to conditionally add props with `exactOptionalPropertyTypes`. |
57 | 'react/jsx-props-no-spreading': 'off', | 66 | 'react/jsx-props-no-spreading': 'off', |
58 | }, | 67 | }, |