@gitlab/eslint-plugin
Version:
GitLab package for our custom eslint rules
28 lines (25 loc) • 2.87 kB
Markdown
<!--
This file is generated, please run `yarn update` after adding or renaming a rule
-->
Available rules:
- [no-global-event-off](./rules/no-global-event-off.md): Throw an error when globally deregistering all event listeners.
- [no-hardcoded-urls](./rules/no-hardcoded-urls.md): Disallow hardcoded URLs
- [no-runtime-template-compiler](./rules/no-runtime-template-compiler.md): Disallow components which rely on a runtime template compiler.
- [require-i18n-strings](./rules/require-i18n-strings.md): Detect a string which has been hard coded and requires externalization.
- [require-valid-i18n-helpers](./rules/require-valid-i18n-helpers.md): Enforces valid usage of translation helpers in JavaScript.
- [tailwind-no-interpolation](./rules/tailwind-no-interpolation.md): Prevents building Tailwind CSS utility classes with string interpolation.
- [tailwind-no-max-width-media-queries](./rules/tailwind-no-max-width-media-queries.md): Prevents the usage of max-width media query Tailwind CSS utility classes.
- [vtu-no-explicit-wrapper-destroy](./rules/vtu-no-explicit-wrapper-destroy.md): Prevents redundant destroy calls and null asignment
- [vtu-no-wrapper-vm](./rules/vtu-no-wrapper-vm.md): Prevent direct access to `vm` internals for `@vue/test-utils` wrappers.
- [vue-no-data-toggle](./rules/vue-no-data-toggle.md): Restrict the use of `data-toggle` bootstrap behaviors within Vue templates
- [vue-no-hardcoded-urls](./rules/vue-no-hardcoded-urls.md): Disallow hardcoded URLs in Vue templates
- [vue-no-new-non-primitive-in-template](./rules/vue-no-new-non-primitive-in-template.md): Prevents non-primitive values from being declared in templates
- [vue-no-undef-apollo-properties](./rules/vue-no-undef-apollo-properties.md): Require Apollo query properties to be initialized in component data.
- [vue-prefer-dollar-scopedslots](./rules/vue-prefer-dollar-scopedslots.md): Prefer $scopedSlots over $slots for Vue 2.x.
- [vue-require-i18n-attribute-strings](./rules/vue-require-i18n-attribute-strings.md): Detect non externalized strings in vue `<template>` attributes
- [vue-require-i18n-strings](./rules/vue-require-i18n-strings.md): enforce no bare strings in vue `<template>`
- [vue-require-required-key](./rules/vue-require-required-key.md): Require the required key to be set
- [vue-require-valid-i18n-helpers](./rules/vue-require-valid-i18n-helpers.md): Enforces valid usage of translation helpers in Vue templates.
- [vue-slot-name-casing](./rules/vue-slot-name-casing.md): enforce specific casing for slot naming style in template
- [vue-tailwind-no-interpolation](./rules/vue-tailwind-no-interpolation.md): Prevents building Tailwind CSS utility classes with string interpolation.
- [vue-tailwind-no-max-width-media-queries](./rules/vue-tailwind-no-max-width-media-queries.md): Prevents the usage of max-width media query Tailwind CSS utility classes.