Skip to content

mcvnh/eslint-config-anhmv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

Installation

To install the package, please run this command in your project

$ yarn add eslint-config-anhmv --dev

Your projects may have multiple environments (e.g. vue, cli). Please change your configuration in the .eslintrc.js to match with your expect:

.eslintrc.js for generic browser code

{
  "extends": [
    "anhmv/env/browser"
  ]
}

.eslintrc.js for Vue code (requires babel-eslint)

{
  "extends": [
    "anhmv/env/vue"
  ]
}

.eslintrc.js for Node code

{
  "extends": [
    "anhmv/env/node"
  ]
}

.eslintrc.js for universal (a.k.a isomorphic) code

{
  "extends": [
    "anhmv/env/universal"
  ]
}

Versioning

This plugin package follows the semantic versioning (major.minor.patch).

  • A major change adds significant new rules, renames or restructures existing rules, or upgrades the ESlint dependency to a new major version.
  • A minor change may add a new rule that may generate some new linting errors, but they should be easily fixed.
  • A patch change fixes a bug or removes a rule. This should not generate any new linting errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published