Skip to content

uscreen/eslint-config-prettystandard-vue

Repository files navigation

@uscreen.de/eslint-config-prettystandard-vue

Test CI Test Coverage Known Vulnerabilities NPM Version

ESLint sharable config: prettier & standard for Vue

While maintaining a larger number of projects with different versions of Node.js, Vue.js,modules, and linters, we can't recommend installing any global packages or binaries at all. Thus ESLint and it's config get installed as configured devDependency within their projects package.json. Editors are configured to use local eslint if found to overcome compatibility issues throughout different projects.

This package aims to avoid boilerplate and cope&paste with dozens of dotfiles in that scenario.

Install

Install all required plugins together with the ESLint and Prettier binaries as direct dependencies by adding this package to your devDependencies.

This is not following the proposed best-practice (see roadmap below), but works.

yarn:

yarn add @uscreen.de/eslint-config-prettystandard-vue -D

npm:

npm install @uscreen.de/eslint-config-prettystandard-vue -D

Usage

Add or modify your .eslintrc.js to extend @uscreen.de/eslint-config-prettystandard-vue, for example:

module.exports = {
  extends: ['@uscreen.de/eslint-config-prettystandard-vue']
}

This includes Prettier configuration, so you don't need to apply any extra .prettierrc.

Roadmap

Changelog

Format according to https://keepachangelog.com

v0.3.0

Changed

  • eslint 8.5.x
  • prettier 2.5.x
  • vue-eslint-parser replaces @babel/eslint-parser

v0.0.0

Added

  • Readme with instructions
  • initially bootstrapped

License

Licensed under MIT.

Credits

Maintained, Supported and Sponsored by u|screen

About

ESLint sharable config: prettier & standard for vue

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •