Skip to content

keisha-rw/eslint-config-vue-tc

 
 

Repository files navigation

eslint-config-vue-tc

ESLint shareable config for Vue projects

license npm ci Dependency Status devDependency Status

What is eslint-config-vue-tc?

Shared configuration for ESLint. Follow the instructions below to easily include this configuration in another project without having to duplicate the file!

How do I install it?

First thing first, let's make sure you have the necessary pre-requisites.

System Dependencies

Node

Command

npx install-peerdeps --dev eslint-config-vue-tc

eslint and eslint-plugin-vue are peer dependencies and must be installed.

This module works best when paired with eslint-config-tc. Please follow its install instructions.

Usage

Add the following to your .eslintrc.json file:

{
	"extends": "eslint-config-vue-tc"
}

If you need to override a rule, your .eslintrc.json file should look like the example below. All shared rules will be used, but vue/require-direct-export will be turned off.

{
	"extends": "eslint-config-vue-tc",
	"rules": {
		"vue/require-direct-export": "off"
	}
}

Related

Contributing

Please see the CONTRIBUTING.md file for more information.

Change Log

Please see the CHANGELOG.md for more information.

License

Copyright (c) 2019-2021 Thomas Lindner. Licensed under the MIT license.

About

ESLint shareable config for Vue projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%