@gitlab/eslint-config
is GitLab's shared ESLint config file to be used in all javascript projects across GitLab. It encapsulates our coding standards and is based primarily upon eslint-config-airbnb-base
and eslint-plugin-vue
with the expectation that code formatting is handled separately by prettier.
Development quick start
- Clone the project
- Install yarn
- Run
yarn install
to install the project dependencies
Requirements
- Node.js 12.x, 14.x (or ^10.12.0)
- ESLint ^7.8.1
Integrating
$ npm install @gitlab/eslint-config
after installing, make sure to add the following to your .eslintrc
file
{
"extends": [
"@gitlab"
]
}
Release management
This project automatically publishes the master
branch using semantic-release.
If a new commit/merge request is merged into master
and it's commit(s) follows the Angular Commit Message Conventions,
a release will be automatically generated and published. Commits that do not follow the convention will be ignored and a release will not be made for them.