Giter Site home page Giter Site logo

linters-config's Introduction

linters-config

How to use this repo? 🤔

Each directory contains Stickler's config files specific to one programming language and README file with detailed instructions:

Follow those instructions in order to set up Stickler in your repo.

In order to get to know more about linters and Stickler read the recap below.

Linters

A linter is a tool that analyzes your source code to flag programming errors, bugs, stylistic errors, and suspicious constructs(source: Wikipedia).

There are a few reasons for using linters:

  1. Catching syntax errors is more efficient. There is no need to debug simple mistakes like typos - the linter does it for you.
  2. The entire codebase looks like written by one person.
  3. Programmers can focus on solving problems, instead of cleaning up the code.

You can find linters for most of the programming languages, e.g. Rubocop for Ruby or ESLint for JavaScript.

Also, there are many ways you can integrate a linter in your workflow:

  • text editor plugin
  • git hook
  • Github app.

Stickler

Stickler is an app, that can be integrated into any Github repo. It uses multiple linters that can be configured according to the programmer’s needs.

🐛 What to do if Stickler does not work? Check Troubleshooting below.

With Stickler enabled you can see:

  • Linting result in your PR screenshot
  • Checks tab in your PR screenshot
  • Comments under any problematic line of code screenshot

See more: https://stickler-ci.com/

Troubleshooting

If Stickler does not work in your repo, you can always use linters in your local environment.

In that case check detailed instructions for each linter:

Contributing

Everybody is welcome to suggest changes in linters config files.

In order to do it, fork this repository, create a new branch and open a Pull Request from your branch. A detailed description of this process: A Step by Step Guide to Making Your First GitHub Contribution by Roshan Jossey

linters-config's People

Contributors

nidalaa avatar nuhvi avatar mauriciorobayo avatar

Watchers

James Cloos 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.