diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-18 16:02:44 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-18 16:02:44 +0200 |
| commit | ec78ff4cd1a5b556c8eb179110230b3c618dde11 (patch) | |
| tree | 941342e2b3c0aa005c6ec12b8beecf4ad69dccf7 | |
| parent | 3a8b0144c82197a70e919ad371d56f82c2282833 (diff) | |
| download | rust-ec78ff4cd1a5b556c8eb179110230b3c618dde11.tar.gz rust-ec78ff4cd1a5b556c8eb179110230b3c618dde11.zip | |
Adding new eslint checks:
* no-sequences * no-throw-literal
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index fc8b5678080..2817a8fe144 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -89,5 +89,7 @@ module.exports = { "no-multi-assign": "error", "no-return-assign": "error", "no-script-url": "error", + "no-sequences": "error", + "no-throw-literal": "error", } }; |
