chore: enable no-unused-vars and prefer-template eslint rules (#10350)

This commit is contained in:
Erik Ritter
2020-07-16 19:13:59 -07:00
committed by GitHub
parent 0eee6785a8
commit 09de805017
56 changed files with 66 additions and 119 deletions

View File

@@ -31,7 +31,7 @@ describe('AnchorLink', () => {
global.window = Object.create(window);
Object.defineProperty(window, 'location', {
value: {
hash: '#' + props.anchorLinkId,
hash: `#${props.anchorLinkId}`,
},
});
});