Last active
February 23, 2017 02:04
-
-
Save JohannesFischer/ad2642c80e0d103ab1eeeb2bbd17c631 to your computer and use it in GitHub Desktop.
VS Code Snippets [javascript]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Print to console": { | |
"prefix": "conl", | |
"body": [ | |
"console.log($1);" | |
], | |
"description": "Log output to console" | |
}, | |
"Print info to console": { | |
"prefix": "coni", | |
"body": [ | |
"console.info($1);" | |
], | |
"description": "Info output to console" | |
}, | |
"Print error to console": { | |
"prefix": "cone", | |
"body": [ | |
"console.error($1);" | |
], | |
"description": "Error output to console" | |
}, | |
"ESLint: Ignore File": { | |
"prefix": "esif", | |
"body": [ | |
"/* eslint-disable */" | |
], | |
"description": "Disable file linting" | |
}, | |
"ESLint: Ignore Line": { | |
"prefix": "esil", | |
"body": [ | |
"// eslint-disable-line $1" | |
], | |
"description": "Ignore a scpecific rule for this line" | |
}, | |
"ESLint: Dsiable Rule": { | |
"prefix": "esdr", | |
"body": [ | |
"/* eslint-disable $1 */" | |
], | |
"description": "Disbale rule for this file" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment