@worldskills/worldskills-eslint-config
v1.0.0
Published
---
Readme
WorldSkills JS Linting configurations
This is a repository for library worldskills-eslint-config that contains all plugins and required configs for linting libraries
Versioning guidelines
The versioning is divided into 3 parts. MAJOR, MINOR, and PATCH.
- The Major version is incremented when a breaking change occurs (in this case the library is not backward compatible)
- The Minor version is incremented when we add new functionality in a backward compatible manor.
- The PATCH version is incremented when we perform bug fixes, and the changes are backward compatible.
Changelog
Notable changes can be viewed here.
Installation
Copy all files from example folder in your project. Remove .example extension from filenames.
Install eslint and prettier packages.
Add following scripts to package.json:
"lint": "eslint .",
"lint:fix": "eslint . --fix"IDE support
Most of IDE's supports ESLint and Prettier through extensions. There's requirement to enable auto-linting for currently opened file, and auto-fix on save if necessary.
