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: prettier/prettier-eslint-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c8c077bcf25b55c16a5177067f8d40bffa502b9c
Choose a base ref
...
head repository: prettier/prettier-eslint-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 04a8e04806db0b47e0282db3cebb1ea46dda4215
Choose a head ref
  • 17 commits
  • 31 files changed
  • 7 contributors

Commits on Mar 7, 2019

  1. Fix broken CI tests (#150)

    * Bump jest-cli
    
    * Add parser argument to specify which parser prettier should use for stdin input
    
    * Add bj00rn to contributors
    bj00rn authored and zimme committed Mar 7, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    44a8fc5 View commit details

Commits on Jun 17, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    ddf7cf5 View commit details
  2. chore: Don't use save-exact

    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    0ebc8b1 View commit details
  3. chore: Update travis config

    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    813f7fe View commit details
  4. chore: Update eslint and require node 8+

    BREAKING CHANGE: Update eslint to version 5 and require node 8+
    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    489a0b3 View commit details
  5. Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    4ef613e View commit details
  6. chore: Delete .babelrc

    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    d0b6eeb View commit details
  7. chore: Update version name

    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    0718efc View commit details
  8. chore: Update test snapshot

    zimme committed Jun 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    7225533 View commit details
  9. Verified

    This commit was signed with the committer’s verified signature.
    zimme Simon Fridlund
    Copy the full SHA
    29db6b5 View commit details

Commits on Mar 6, 2021

  1. fix(format-files): ensure paths passed to prettier-eslint are absol…

    …ute paths (#259)
    
    As of the 6.7.0 release of eslint, absolute paths are required when eslint is
    searching for ignore patterns (eslint/eslint@ca3b2a6).
    This causes prettier-eslint-cli to fail if called with a glob pattern using
    relative paths. This commit passes the file path through the `path.resolve` method
    to ensure they are always absolute paths.
    
    Addresses issues #205 & #208
    dpwilhelmsen authored Mar 6, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dd70720 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e7ff4a6 View commit details

Commits on May 6, 2021

  1. Delete stale.yml

    kylemh authored May 6, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5ebffc9 View commit details

Commits on Sep 6, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    afc22f5 View commit details

Commits on May 11, 2022

  1. feat: 📦 Support ESLint 8 (#431)

    BREAKING CHANGE:
    Requires ESLint 8. ESLint 8 API changes caused the format function to now be asynchronous.
    Requires minimum Node 12 as required by ESLint 8
    idahogurl authored May 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4e4077d View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f9debed View commit details
  3. fix: Don't specify any jsxBracketSameLine parameter if none is specif…

    …ied (#430)
    
    By removing the default value for jsx-bracket-same-line (which is just
      `undefined` anyway), no option value at all for jsxBracketSameLine will
      be generated if none is specified. Then if a recent version of prettier
      is in use for which that option is deprecated, it won't complain.
    
      Resolves #428.
    gwhitney authored May 11, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    04a8e04 View commit details
50 changes: 49 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -203,6 +203,54 @@
"doc",
"test"
]
},
{
"login": "bj00rn",
"name": "Björn Dalfors",
"avatar_url": "https://avatars0.githubusercontent.com/u/10961167?v=4",
"profile": "https://github.com/bj00rn",
"contributions": [
"infra"
]
},
{
"login": "sscaff1",
"name": "Steven Scaffidi",
"avatar_url": "https://avatars1.githubusercontent.com/u/1554424?v=4",
"profile": "https://github.com/sscaff1",
"contributions": [
"doc"
]
},
{
"login": "dpwilhelmsen",
"name": "Daniel Wilhelmsen",
"avatar_url": "https://avatars3.githubusercontent.com/u/1758049?v=4",
"profile": "http://danielwilhelmsen.com",
"contributions": [
"code",
"maintenance"
]
},
{
"login": "gwhitney",
"name": "Glen Whitney",
"avatar_url": "https://avatars.githubusercontent.com/u/3825429?v=4",
"profile": "https://github.com/gwhitney",
"contributions": [
"maintenance"
]
},
{
"login": "idahogurl",
"name": "Rebecca Vest",
"avatar_url": "https://avatars.githubusercontent.com/u/10620169?v=4",
"profile": "https://campcode.dev/",
"contributions": [
"code"
]
}
]
],
"repoType": "github",
"commitConvention": "none"
}
23 changes: 0 additions & 23 deletions .babelrc

This file was deleted.

15 changes: 0 additions & 15 deletions .eslintrc

This file was deleted.

19 changes: 19 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
const config = {
extends: ['kentcdodds', 'kentcdodds/jest'],
rules: {
quotes: ['error', 'single', { avoidEscape: true }],
'arrow-parens': ['error', 'as-needed'],
'max-len': 'off',
'import/max-dependencies': 'off',
'space-before-function-paren': [
'error',
{
anonymous: 'never',
named: 'never',
asyncArrow: 'always'
}
]
}
};

module.exports = config;
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on: [push]

jobs:
ci:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}

- name: Install dependencies
run: npm i

- name: Lint, test, and build
run: npm start validate

- name: Check test coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos

29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- uses: actions/setup-node@v2
with:
node-version: '12.x'

- run: npm i

- run: npm start build

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release@15
3 changes: 1 addition & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
registry=http://registry.npmjs.org/
save-exact=true
registry=https://registry.npmjs.org/
package-lock=false
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

Loading