diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-03 11:11:33 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-06-03 11:11:33 +0200 |
| commit | fe503adf4c023f8f8284262ea2b39bf2ce3fabcf (patch) | |
| tree | 4852d67a58b02e1758cad9c964d55b7eb230e1e8 | |
| parent | e0cbac6a398b4d0aa73eb590f7fcd1460ef97050 (diff) | |
| download | rust-fe503adf4c023f8f8284262ea2b39bf2ce3fabcf.tar.gz rust-fe503adf4c023f8f8284262ea2b39bf2ce3fabcf.zip | |
Add "no-invalid-regexp" eslint rule
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index cf99ed56de1..e6ed3809cdd 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -71,5 +71,6 @@ module.exports = { "no-duplicate-case": "error", "no-ex-assign": "error", "no-fallthrough": "error", + "no-invalid-regexp": "error", } }; |
