Skip to content

sunlabde/eslint-config-vuelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@sunlabde/eslint-config-vuelab

@sunlabde/eslint-config-vuelab

This package contains the custom eslint config used by the Sunlab UX Team. Under the hood it uses the airbnb rules with some custom additions. It should alongside with Vue 3 projects since it also includes the Vue eslint rules.

🔧 How to use

Prequesit

This package is only accessible privately over the GitHub package registry. Make sure you tell your npm client that @sunlabde points to https://npm.pkg.github.com as well as to provide a valid access token.

Example .npmrc

@sunlabde:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${SUNLABDE_NPM_AUTH_TOKEN}

Install

npm install @sunlabde/eslint-config-vuelab -D

Extend your ESLint config

There is only one configuration available

  • base – Made for use with a Vue Vite project

Example .eslintrc.js

module.exports = {
  extends: [
    '@sunlabde/vuelab',
  ],
};

💡 Contribute

If you want to add new rules we should follow in our Sunlab UX projects, feel free to add those rules to the config. To do so, you just have to apply your changes, commit them and run npm run release. Follow the instructions and it will then create a new version of this package.

If you are unsure, always feel free to get in touch with me ([email protected]).

About

A custom ESLint config for Vue 3 projects at Sunlab. Maintainer @Roxas92

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •