diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-29 21:38:52 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-29 21:38:52 +0200 |
| commit | 6b4191f5e03db60f7cae7d892af368ce498412c6 (patch) | |
| tree | 697af8595593ae504b37b95c98917bc4c268b3a5 /src | |
| parent | bef2b7cd1c7bcb3393f10d5752fcf9ee3026bce8 (diff) | |
| download | rust-6b4191f5e03db60f7cae7d892af368ce498412c6.tar.gz rust-6b4191f5e03db60f7cae7d892af368ce498412c6.zip | |
Add "no-const-assign" eslint rule
Diffstat (limited to 'src')
| -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 997def1657f..651aacec513 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -63,5 +63,6 @@ module.exports = { } ], "eqeqeq": "error", + "no-const-assign": "error", } }; |
