Coder Social home page Coder Social logo

ctmcisco / super-duper-linter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justingrote/super-duper-linter

0.0 0.0 0.0 153 KB

Inspired by github/super-linter, but using Powershell

License: MIT License

PowerShell 51.50% Dockerfile 3.97% Shell 0.54% CoffeeScript 4.83% CSS 0.62% Go 0.14% JavaScript 21.57% Perl 2.88% Python 11.73% HCL 1.55% TypeScript 0.67%

super-duper-linter's Introduction

Super Duper Linter Inspired by super-linter by GitHub, but using Powershell.

Improvements

  • Powershell 7 Runner Script
  • Linters run independently, a failure in one won't impact others
  • Linters are defined as structured objects
  • Configuration System for Linters
  • Problem Matcher and Github Annotations Support
  • Linter Plugin Support
  • Linters run in parallel for huge performance increase
  • Files to lint are evaluated prior to run, better performance
  • Linter Results are posted as annotations to the action, where possible
  • Linters that can process multiple files at once are supported, e.g. for static type checking
  • Supports Github Actions Inputs
  • Provides a JSON representation of the results as an output

Linter States

Linters have one of two states, usually determined by their exit code but also can be determined by output:

  1. Failure: The linter itself had an unrecoverable error, such as bad configuration
  2. Success: The linter completed and no issues were found

Linter Suggestions

A linter may emit nothing at all or it may emit suggestions. Those suggestions can fall into one of the following categories:

  1. Error: The linter determined an error that will likely prevent the code from functioning correctly
  2. Warning: The linter found something that isn't necessarily an issue but has the potential to cause one
  3. Info: The linter has a suggestion or refactoring option to improve compatibility/performance/etc.

super-duper-linter's People

Contributors

justingrote 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.