Giter Club home page Giter Club logo

eslint-config-react-tc's Introduction

eslint-config-react-tc

ESLint shareable config for React projects

license npm ci

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

eslint, eslint-config-tc eslint-plugin-import, eslint-plugin-prettier, eslint-plugin-react, eslint-plugin-jsx-a11y, and prettier are peer dependencies and must be installed.

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

Usage

Add the following to your .eslintrc.json file:

{
	"extends": "eslint-config-react-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-react-tc",
	"rules": {
		"react/display-name": "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) 2018-2023 Thomas Lindner. Licensed under the MIT license.

eslint-config-react-tc's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar tclindner avatar

Watchers

 avatar  avatar  avatar

eslint-config-react-tc's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.