Giter VIP home page Giter VIP logo

eslint-config-getninjas's Introduction

GetNinjas

Last commit on GitHub Made by GetNinjas Project top programing language Repository size GitHub license

ℹ️ How To Use?   |    🚀 Contributing   |    💻 Author   |    📝 License

ESLint Config GetNinjas is a set of linting rules for JavaScript, TypeScript and React projects. ESLint Config GetNinjas uses ESLint configurations from Airbnb and Prettier as the basis for linting rules.


ℹ️ How To Use?

  1. Install the eslint-config-getninjas dependency
yarn add -D eslint-config-getninjas
  1. Install the peerDependencies
yarn add -D \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-config-airbnb \
  eslint-config-airbnb-base \
  eslint-config-airbnb-typescript \
  eslint-config-prettier \
  eslint-import-resolver-typescript \
  eslint-plugin-import \
  eslint-plugin-jsx-a11y \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  typescript
  1. Setup

React

Create a .eslintrc.json file extending the config for React:

{
  "extends": "eslint-config-getninjas/react"
}

React TypeScript

Create a .eslintrc.json file extending the config for React TypeScript:

{
  "extends": "eslint-config-getninjas/react-typescript"
}

JavaScript Base

Create a .eslintrc.json file extending the config for JavaScript Base:

{
  "extends": "eslint-config-getninjas/base"
}

TypeScript

Create a .eslintrc.json file extending the config for JavaScript Base

{
  "extends": "eslint-config-getninjas/typescript"
}

🚀 Contributing

If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.

  • Create a personal fork of the project on Github.
  • Clone the fork on your local machine. Your remote repo on Github is called origin.
  • If you created your fork a while ago be sure to pull upstream changes into your local repository.
  • Create a new branch to work on! Branch from develop if it exists, else from master.
  • Implement/fix your feature, comment your code.
  • Follow the code style of the project, including indentation.
  • Add or change the documentation as needed.
  • Push your branch to your fork on Github, the remote origin.
  • If the maintainer requests further changes just push them to your branch. The PR will be updated automatically.

💻 Author

Rocketseat
GetNinjas

@GetNinjas

📝 License

This project is licensed under the MIT License - see the LICENSE page for details.

eslint-config-getninjas's People

Contributors

eduardojmatos avatar trevelint avatar williamcosta avatar aurinojunior avatar tavareshenrique avatar dependabot[bot] avatar yvessacurae avatar iondrimba avatar nathpaiva avatar

Stargazers

Felipe Monteiro avatar Alan Justino da Silva avatar  avatar Caio Salgado avatar Felipe Orlando avatar  avatar  avatar  avatar Victor Perin avatar

Watchers

James Cloos avatar Caio Salgado avatar  avatar Thiago Francisco avatar  avatar

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.