how to lint javascript code code example
Example: javascript linting
// alternative linting for javascript developer using standard zero configuration follow this step by step
1.install standard to development mode - npm i standard -D or install standard to global - npm i standard -g
2.install standard extension for vscode
3.add this configuration to vscode json config
"standard.enable": true,
"standard.run": "onSave",
"standard.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"standard.autoFixOnSave": true,
"standard.engine": "standard",
4. enjoy linting is active