@gitlab/eslint-plugin

GitLab package for our custom eslint rules

Usage no npm install needed!

<script type="module">
  import gitlabEslintPlugin from 'https://cdn.skypack.dev/@gitlab/eslint-plugin';
</script>

README

pipeline status code style: prettier

@gitlab/eslint-plugin

This package contains eslint rules developed for GitLab and shared eslint config 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.

Generally we should use upstream rules that are defined in eslint or eslint-plugin-vue. If one of these packages lacks a rule, we can create it here in order to enforce it, and try to get it upstream later.

Documentation

Contribution guidelines

Please refer to gitlab's CONTRIBUTING.md for details on our guidelines.