All Projects → hipstersmoothie → Eslint Formatter Github

hipstersmoothie / Eslint Formatter Github

Licence: mit
See ESLint errors and warnings directly in pull requests.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Eslint Formatter Github

Gatsby Starter Strict
A Gatsby starter with strict linting and auto-formatting rules.
Stars: ✭ 43 (-31.75%)
Mutual labels:  eslint
Eslint Plugin Lwc
Official ESLint rules for LWC
Stars: ✭ 51 (-19.05%)
Mutual labels:  eslint
Dotfiles
My dotfiles, managed with GNU stow
Stars: ✭ 56 (-11.11%)
Mutual labels:  eslint
Eslint Module
ESLint module for Nuxt.js
Stars: ✭ 49 (-22.22%)
Mutual labels:  eslint
Eslint Plugin Vue I18n
🌐 ESLint plugin for Vue I18n
Stars: ✭ 50 (-20.63%)
Mutual labels:  eslint
Node Typescript Boilerplate
Minimalistic project template to jump start a Node.js back-end application in TypeScript. ESLint, Jest and type definitions included.
Stars: ✭ 1,061 (+1584.13%)
Mutual labels:  eslint
Eslint Config Kit
A collection of useful eslint configs
Stars: ✭ 39 (-38.1%)
Mutual labels:  eslint
Next React Graphql Apollo boostrap
React + GraphQL + Next.js project architecture that I play with right now
Stars: ✭ 59 (-6.35%)
Mutual labels:  eslint
Eslint Github Bot
Plugin-based GitHub bot for ESLint
Stars: ✭ 50 (-20.63%)
Mutual labels:  eslint
React M
react-mobile
Stars: ✭ 56 (-11.11%)
Mutual labels:  eslint
Webpack
独自手动搭建公司项目(开发环境和生产环境独立配置)。项目已经上线,线上地址为https://www.taomitao.com/ (⚠️2018.04.18后链接失效)⚠️本仓库仅供学习使用,不再维护。感兴趣者可自行扩展!
Stars: ✭ 49 (-22.22%)
Mutual labels:  eslint
Gatsby Starter Typescript Deluxe
A Gatsby starter with TypeScript, Storybook, Styled Components, Framer Motion, Jest, and more.
Stars: ✭ 50 (-20.63%)
Mutual labels:  eslint
Generator Dhboilerplate
Boilerplate made by David Hellmann
Stars: ✭ 54 (-14.29%)
Mutual labels:  eslint
Webgl Structure
🚀 A modern, ES6 based, javascript structure for WebGL based projects with THREE.js!
Stars: ✭ 44 (-30.16%)
Mutual labels:  eslint
Starter
Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
Stars: ✭ 1,082 (+1617.46%)
Mutual labels:  eslint
Javascript Eslint.tmbundle
Integrates the ESLint JavaScript validator with TextMate 2
Stars: ✭ 41 (-34.92%)
Mutual labels:  eslint
Eslint Plugin Flowtype
Flow type linting rules for ESLint.
Stars: ✭ 1,065 (+1590.48%)
Mutual labels:  eslint
Vue Music
使用vue2.0构建音乐播放器
Stars: ✭ 60 (-4.76%)
Mutual labels:  eslint
Simple Universal React Redux
The simplest possible Async Universal React & Redux Boilerplate app, that works on both Mac and Windows
Stars: ✭ 58 (-7.94%)
Mutual labels:  eslint
Eslint Plugin Monorepo
ESLint Plugin for monorepos
Stars: ✭ 56 (-11.11%)
Mutual labels:  eslint

eslint-formatter-github

See ESLint errors and warnings directly in pull requests.

Highlights

Example of annotations being included in a pull request

Install

npm install --save-dev eslint-formatter-github
# or
yarn add -D eslint-formatter-github

Usage

You will need to install the github app to your repo.

Then just use the formatter and it will report errors and warnings on PRs!

eslint --format github file.js

Using you own GitHub App

You might not want to use our github app for the formatter.

Reasons:

  1. You think they way we exposed the keys is bad
  2. You are on Github Enterprise and cannot use the public app

In these situations all you need to do is create a GitHub app and set a few environment variables.

1. Create a GitHub app

Go to this page to create a new GitHub app. You need to set the following fields:

  • name - The name that shows for your app in the checks reports
  • Homepage URL - You can set this to anything. Ours is set to https://github.com
  • Webhook URL - You can set this to anything. Ours is set to https://github.com

Then hit Save Changes and you're all done setting up your GitHub app.

2. Set ESLINT_APP_ID environment variable

Your GitHub application's ID. This can be found at the top of your GitHub app's edit page.

3. Set ESLINT_PRIVATE_KEY environment variable

The private RSA key for your application. The prompt to generate the RSA key is at the bottom of your GitHub app's edit page.

Once you have generated a key, open the file that is downloaded and copy to text into the PRIVATE_KEY environment variable.

4. Set GH_API (enterprise only)

To get this package to work on github enterprise instances you will need to set the GH_API environment variable to a url pointing towards your enterprise GitHub's API.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].