typefaces icon indicating copy to clipboard operation
typefaces copied to clipboard

Eslint error

Open Jaikant opened this issue 8 years ago • 2 comments

I am getting the following ESlint errors, I just recently started using eslint and find it great as it enforces a discipline in my style. For now, I managed to ignore these errors, by adding the import to a file which is part of .eslintignore.

But would like to know why is eslint complaining, I am new to fonts and typefaces.

Missing file extension "css" for "typeface-quattrocento-sans" import/extensions Missing file extension "css" for "typeface-work-sans" import/extensions

Jaikant avatar Dec 19 '17 07:12 Jaikant

I would like to know the answer to this as well.

In the meantime, I've just disabled the import lines for eslint:

import 'typeface-quattrocento-sans'; // eslint-disable-line
import 'typeface-work-sans'; // eslint-disable-line

skube avatar May 05 '18 21:05 skube

Any update on this one?

maiertech avatar Dec 02 '19 15:12 maiertech