Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: airbnb/javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: eslint-config-airbnb-base-v14.2.1
Choose a base ref
...
head repository: airbnb/javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: eslint-config-airbnb-base-v15.0.0
Choose a head ref

Commits on Nov 6, 2020

  1. Copy the full SHA
    b7015dd View commit details
  2. Copy the full SHA
    eee79a5 View commit details
  3. Copy the full SHA
    e5de51e View commit details
  4. [eslint config] v18.2.1

    ljharb committed Nov 6, 2020
    Copy the full SHA
    37d48db View commit details

Commits on Nov 7, 2020

  1. [eslint config] [base] import/no-extraneous-dependencies: Add .esli…

    …ntrc.js to devDeps
    
    Similar to #1168 and #1522.
    Kocal authored and ljharb committed Nov 7, 2020
    Copy the full SHA
    f0df3a8 View commit details

Commits on Nov 12, 2020

  1. [eslint config] [base] [patch] fix spelling of "than"

    you mean "than" not "then".
    drdogbot7 authored and ljharb committed Nov 12, 2020
    Copy the full SHA
    1f786e1 View commit details

Commits on Nov 20, 2020

  1. Copy the full SHA
    63098cb View commit details

Commits on Nov 21, 2020

  1. Copy the full SHA
    5620bd5 View commit details

Commits on Dec 17, 2020

  1. [eslint config] [fix] bump eslint-plugin-react-hooks peer dependency …

    …version
    
    Fixes #2355
    maco authored and ljharb committed Dec 17, 2020
    1
    Copy the full SHA
    1eadb93 View commit details

Commits on Dec 30, 2020

  1. [*] [dev deps] update tape

    ljharb committed Dec 30, 2020
    Copy the full SHA
    66cd156 View commit details
  2. Copy the full SHA
    fb3214c View commit details
  3. Copy the full SHA
    b9ff0ae View commit details
  4. Copy the full SHA
    db8b6ce View commit details
  5. Copy the full SHA
    ea5ec0c View commit details

Commits on Jan 8, 2021

  1. [meta] Fix typo in .markdownlint.json

    preceeding -> preceding
    eltociear authored and ljharb committed Jan 8, 2021
    3
    Copy the full SHA
    9c18110 View commit details

Commits on Mar 17, 2021

  1. Copy the full SHA
    711aeb6 View commit details

Commits on Mar 24, 2021

  1. [guide] Fix 19.6 example code

    dancerphil authored and ljharb committed Mar 24, 2021
    1
    Copy the full SHA
    0cf78ac View commit details

Commits on Mar 25, 2021

  1. [*] [dev deps] update tape

    ljharb committed Mar 25, 2021
    Copy the full SHA
    1b540ba View commit details
  2. 1
    Copy the full SHA
    4d83764 View commit details
  3. [eslint config] [patch] Alphabetize the rules for react-a11y.js

    The ordering of the rules are currently not alphabetical, which can make it hard to tell whether there are rules missing or what's set for each rule from eslint-plugin-jsx-a11y.
    
    This change alphabetizes the list so it's easier to compare to the [list of supported rules](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y#supported-rules)
    backwardok authored and ljharb committed Mar 25, 2021
    1
    Copy the full SHA
    730b749 View commit details

Commits on May 3, 2021

  1. 1
    Copy the full SHA
    dc3af3a View commit details
  2. Copy the full SHA
    5641278 View commit details

Commits on May 4, 2021

  1. Copy the full SHA
    1fb4592 View commit details

Commits on May 9, 2021

  1. [readme] add AloPeyk to "in the wild"

    amirvatani authored and ljharb committed May 9, 2021
    Copy the full SHA
    d5d406a View commit details

Commits on May 11, 2021

  1. [guide] Spread operator => Spread syntax

    hsh2001 authored and ljharb committed May 11, 2021
    Copy the full SHA
    35914b1 View commit details

Commits on Jun 19, 2021

  1. Copy the full SHA
    f5c14ca View commit details

Commits on Jun 29, 2021

  1. Copy the full SHA
    af8bdf1 View commit details
  2. Copy the full SHA
    428c9dd View commit details

Commits on Sep 15, 2021

  1. [eslint config] [base] [patch] Improve function-paren-newline with …

    …`multiline-arguments` option
    
    Related to #1731
    
    Co-authored-by: Augustus Buonviri <augustus.buonviri@stratusgrid.com>
    Co-authored-by: Jordan Harband <ljharb@gmail.com>
    Cosmic-Ryver and ljharb committed Sep 15, 2021
    Copy the full SHA
    2a6bec1 View commit details

Commits on Sep 24, 2021

  1. 1
    Copy the full SHA
    4ee7326 View commit details

Commits on Sep 29, 2021

  1. 1
    Copy the full SHA
    30927d2 View commit details
  2. 1
    Copy the full SHA
    7fbed3b View commit details

Commits on Oct 15, 2021

  1. 1
    Copy the full SHA
    1227882 View commit details

Commits on Oct 17, 2021

  1. [guide] Fix 14.1 Temporal Dead Zones link

    jwr1 authored and ljharb committed Oct 17, 2021
    Copy the full SHA
    82dbec3 View commit details

Commits on Nov 3, 2021

  1. [Docs] HTTP => HTTPS

    Schweinepriester authored and ljharb committed Nov 3, 2021
    Copy the full SHA
    fdc812a View commit details

Commits on Nov 5, 2021

  1. Copy the full SHA
    ea5b991 View commit details
  2. Merge pull request #2491 from airbnb/travis

    [Tests] migrate tests to Github Actions
    lencioni authored Nov 5, 2021
    Copy the full SHA
    8aec65a View commit details

Commits on Nov 9, 2021

  1. Copy the full SHA
    6734b78 View commit details
  2. 1
    Copy the full SHA
    ef6c478 View commit details
  3. 1
    Copy the full SHA
    10a6d02 View commit details
  4. 1
    Copy the full SHA
    c12a08c View commit details
  5. 1
    Copy the full SHA
    96f11d8 View commit details
  6. [readme] some updates

    ljharb committed Nov 9, 2021
    1
    Copy the full SHA
    4fc997b View commit details
  7. 1
    Copy the full SHA
    be6966b View commit details
  8. 1
    Copy the full SHA
    eac8cc6 View commit details
  9. 1
    Copy the full SHA
    f3d3a07 View commit details
  10. 1
    Copy the full SHA
    366bfa6 View commit details
26 changes: 26 additions & 0 deletions .github/workflows/node-pretest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Tests: pretest/posttest'

on: [pull_request, push]

jobs:
pretest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- '..'
- eslint-config-airbnb
- eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
node-version: 'lts/*'
- run: npm run pretest
171 changes: 171 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
name: 'Tests: node.js'

on: [pull_request, push]

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
latest: ${{ steps.set-matrix.outputs.requireds }}
steps:
- uses: ljharb/actions/node/matrix@main
id: set-matrix
with:
versionsAsRoot: true
type: 'majors'
preset: '^12 || ^14 || ^16 || >= 17'

base:
needs: [matrix]
name: 'base config'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
eslint:
- 8
- 7
package:
- eslint-config-airbnb-base
exclude:
- node-version: 10
eslint: 8
package: eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: ${{ matrix.node-version }}
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run travis
- uses: codecov/codecov-action@v2

react:
needs: [matrix]
name: 'react config'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
eslint:
- 7
# - 6
# - 5
package:
- eslint-config-airbnb
react-hooks:
- ''
# - 3 # TODO: re-enable these once the react config uses eslint 8
# - 2.3
# - 1.7

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: ${{ matrix.node-version }}
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
if: ${{ matrix.react-hooks > 0}}
- run: npm run travis
- uses: codecov/codecov-action@v2

prepublish-base:
name: 'prepublish tests (base config)'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
eslint:
- 8
- 7
package:
- eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: lts/*
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run pretravis
- run: npm run prepublishOnly
- run: npm run posttravis

prepublish-react:
name: 'prepublish tests (react config)'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
eslint:
- 7
# - 6
# - 5
package:
- eslint-config-airbnb
react-hooks:
- ''
# - 3 # TODO: re-enable these once the react config uses eslint 8
# - 2.3
# - 1.7

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: lts/*
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
if: ${{ matrix.react-hooks > 0}}
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run pretravis
- run: npm run prepublishOnly
- run: npm run posttravis

node:
name: 'node 10+'
needs: [base, prepublish-base, react, prepublish-react]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
15 changes: 15 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Automatic Rebase

on: [pull_request_target]

jobs:
_:
name: "Automatic Rebase"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/require-allow-edits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Require “Allow Edits”

on: [pull_request_target]

jobs:
_:
name: "Require “Allow Edits”"

runs-on: ubuntu-latest

steps:
- uses: ljharb/require-allow-edits@main
108 changes: 0 additions & 108 deletions .travis.yml

This file was deleted.

Loading