1. eslint-config-tc
ESLint shareable config for JavaScript projects
eslint-config-tc
Package: eslint-config-tc
Created by: tclindner
Last modified: Mon, 29 Apr 2024 00:50:16 GMT
Version: 26.0.0
License: MIT
Downloads: 60,719
Repository: https://github.com/tclindner/eslint-config-tc

Install

npm install eslint-config-tc
yarn add eslint-config-tc

eslint-config-tc

ESLint shareable config for JavaScript projects

license
npm
ci
Dependency Status
devDependency Status

What is eslint-config-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-tc

eslint, eslint-plugin-import, eslint-plugin-jest, eslint-plugin-prettier, eslint-plugin-unicorn, and prettier are peer dependencies and must be installed.

Usage

Add the following to your .eslintrc.json file:

 {
  "extends": "eslint-config-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 eqeqeq will be turned off.

 {
  "extends": "eslint-config-tc",
  "rules": {
    "eqeqeq": "off"
  }
}

Contributing

Please see CONTRIBUTING.md.

Release History

Please see CHANGELOG.md.

License

Copyright (c) 2016-2023 Thomas Lindner. Licensed under the MIT license.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin