diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-25 13:58:14 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-05-25 13:58:14 +0200 |
| commit | 36d3c7e3c6b38bc65b405a36cdee6dc0f5fcf4e0 (patch) | |
| tree | 3300111e86a5fd8acca4dcab116e539b6eb45ffc | |
| parent | 33245e0bb38a35ca1cdcebbfc9e2b75a271fce28 (diff) | |
| download | rust-36d3c7e3c6b38bc65b405a36cdee6dc0f5fcf4e0.tar.gz rust-36d3c7e3c6b38bc65b405a36cdee6dc0f5fcf4e0.zip | |
Add new eslint rule "max-len"
| -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 64647177cbd..6052444d97a 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -52,5 +52,6 @@ module.exports = { "space-before-blocks": "error", "comma-dangle": ["error", "always-multiline"], "comma-style": ["error", "last"], + "max-len": ["error", { "code": 100, "tabWidth": 4 }], } }; |
