aldikhan13

Javascript Linting Zero Configuration

Jul 26th, 2020 (edited)
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // alternative linting for javascript developer using standard zero configuration follow this step by step
  2.  
  3. 1.install standard to development mode - npm i standard -D or install standard to global - npm i standard -g
  4. 2.install standard extension for vscode
  5. 3.add this configuration to vscode json config
  6.   "standard.enable": true,
  7.   "standard.run": "onSave",
  8.   "standard.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
  9.   "standard.autoFixOnSave": true,
  10.   "standard.engine": "standard",
  11. 4. enjoy linting is active
Add Comment
Please, Sign In to add comment