diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-20 17:04:21 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-20 20:27:34 +0200 |
| commit | b036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0 (patch) | |
| tree | c2ef4901ef0ed4fadbfe3b5d77b74b518513cafb /src/librustdoc/html | |
| parent | b5caa5a8421f84cb7664f999b7635801bcf3f96a (diff) | |
| download | rust-b036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0.tar.gz rust-b036fd378b55dcf42c72b9db6e2bcbaeeb4dfdf0.zip | |
Add eslint arrow-spacing check
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/static/.eslintrc.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index 9d4c45b8a62..6b63e3b714a 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -38,5 +38,9 @@ module.exports = { "error", { "before": true, "after": true } ], + "arrow-spacing": [ + "error", + { "before": true, "after": true } + ], } }; |
