mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-14 09:37:37 +02:00
ESLintify Part 2 (#841)
* ESLintify Part 2 * Fix * Fix tests * Fix tests * Fix tests
This commit is contained in:
parent
4267337fb0
commit
5ac2cee658
42 changed files with 188 additions and 190 deletions
|
@ -31,6 +31,8 @@ window.addEventListener('load', function() {
|
|||
);
|
||||
|
||||
const clipboard = new ClipboardJS('.btnClipboard', {
|
||||
// Not gonna use the shorthand as this file is sent down to browsers without transpiling.
|
||||
/* eslint-disable object-shorthand */
|
||||
target: function(trigger) {
|
||||
return trigger.parentNode.querySelector('code');
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue