See https://eslint.org/docs/user-guide/configuring
Disable rule "Unexpected var, use let or const instead".
var foo = "bar"; // eslint-disable-line no-var
See https://github.com/sasstools/sass-lint/tree/master/docs/rules
Disable rule "No Vendor Prefixes"
backface-visibility: visible; // sass-lint:disable-line no-vendor-prefixes
- See Project ruleset (
phpcs.xml
) - See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-parts-of-a-file
Disable checking on one line
http://localhost/MAMP/index.php?page=phpinfo&language=English
--exec-prefix=/Applications/MAMP/bin/php/php5.6.30'
Some great information from UTF-8: The Secret of Character Encoding.
I've used the charset
meta tag with a UTF-8
value for a long long time and now it's the default in HTML5.
While this can also be achieved on the server, the meta tag is an easy and human-readable way to instruct the browser to use UTF-8.
This content is paraphrased from Increasing Application Performance with HTTP Cache Headers. It's how I learn.
HTTP caching occurs when the browser stores local copies of web resources for faster retrieval the next time the resource is required. As your application serves resources it can attach cache headers to the response specifying the desired cache behavior.
curl -I http://www.websitename.com
- Append a PHP string to the URL, to display an image-based easter egg that corresponds to a version of PHP