SkyVerge JavaScript Coding Standards
Coding Standards for ES6 JavaScript shareable configuration for ESLint, via npm package.
Based on WordPress JavaScript Coding Standards.
See also:
- ESLint Config WordPress (deprecated)
- WordPress ESLint Plugin (new)
- WordPress Scripts package
- Awesome ESLint collection of resources
- SkyVerge PHP Coding standards counterpart
Installation
From command line:
npm install @skyverge/eslint-config
Usage
Add to your .eslintrc.json
file or equivalent the following entry:
{
"extends": [ "plugin:@skyverge/eslint-config" ]
}
If you are using YAML or JavaScript for your ESlint configuration file format make sure you use the correct syntax for the language used.