mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-23 00:34:55 +00:00
Enable arrow-spacing
linting rule and fix issues (#8584)
This commit is contained in:
@ -40,7 +40,6 @@ module.exports = {
|
||||
'strict': 'off',
|
||||
'wrap-iife': 'off',
|
||||
// TODO: Re-enable the rules below and fix the linting issues.
|
||||
'arrow-spacing': 'off',
|
||||
'func-name-matching': 'off',
|
||||
'no-duplicate-imports': 'off',
|
||||
'no-invalid-this': 'off',
|
||||
|
@ -77,7 +77,7 @@ if (toc) {
|
||||
var elem = document.querySelector(currentHash);
|
||||
|
||||
if (elem.tagName === 'H2' || elem.tagName === 'H4') {
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
scrollToHeader(elem, true);
|
||||
}, 10);
|
||||
}
|
||||
|
Reference in New Issue
Block a user