Skip to content

Commit

Permalink
Add eslint key-spacing check
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 20, 2022
1 parent b036fd3 commit 116c5a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@ module.exports = {
"error",
{ "before": true, "after": true }
],
"key-spacing": [
"error",
{ "beforeColon": false, "afterColon": true, "mode": "strict" }
],
}
};

0 comments on commit 116c5a2

Please sign in to comment.