UNPKG

gulp-avoidfoit

Version:

Scans your css files and generates the JS code to load all the webfonts with Fonts Events to avoid FOIT (Flash of Invisible Text) and to improve performance.

41 lines (31 loc) 735 B
{ // Adds "camelcase": true, "curly": true, "immed": true, "indent": 2, "newcap": true, "quotmark": "single", "strict": true, // Enforcing options // http://www.jshint.com/docs/options/#enforcing-options "bitwise": true, "eqeqeq": true, "forin": true, "latedef": true, "noarg": true, "nonbsp": true, "nonew": true, "undef": true, "unused": true, // - - - - - - - - - - - - - - - - - - - - - - - - - - - // Relaxing options // http://www.jshint.com/docs/options/#relaxing-options "esnext": true, // - - - - - - - - - - - - - - - - - - - - - - - - - - - // Environments // http://www.jshint.com/docs/options/#environments "browser": true, "jquery": true, "node": true }