Novices Performing Miracles
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

eslint-config-tc

16.2.0 • Public • Published

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-eslint-comments, 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-2020 Thomas Lindner. Licensed under the MIT license.

Install

npm i eslint-config-tc

DownloadsWeekly Downloads

2,638

Version

16.2.0

License

MIT

Unpacked Size

13.5 kB

Total Files

15

Last publish

Collaborators

  • avatar