[improvement] update eslint config (#2288)

This commit is contained in:
neverland
2018-12-14 14:24:23 +08:00
committed by GitHub
parent d2751ffdfa
commit 16e4889a92
141 changed files with 6387 additions and 7536 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
module.exports = (fontName, ttf) => {
return `@font-face {
module.exports = (fontName, ttf) => `@font-face {
font-style: normal;
font-weight: normal;
font-family: '${fontName}';
src: url('./${ttf}') format('truetype');
}
`;
};