Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brave-ants-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-prettier": patch
---

chore: hourcekeeping, bump all (dev) deps
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@ concurrency:

jobs:
ci:
name: Lint and Test on Node ${{ matrix.node-version }} (ESLint ${{ matrix.eslint-version }})
name: Lint and Test on Node ${{ matrix.node }} (ESLint ${{ matrix.eslint }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
node:
- 22
- 20
- 18
eslint-version:
eslint:
- 9
- 8
include:
- node-version: 16
eslint-version: 8
- node-version: 14
eslint-version: 8
- node: 16
eslint: 8
- node: 14
eslint: 8

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4

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

- name: Install
run: pnpm install
run: pnpm install --prefer-frozen-lockfile

- name: Install ESLint ${{ matrix.node-version }}
if: ${{ matrix.eslint-version != 9 }}
run: pnpm install -D eslint@${{ matrix.eslint-version }} eslint-plugin-svelte@2 svelte@3
- name: Install ESLint ${{ matrix.node }}
if: ${{ matrix.eslint != 9 }}
run: pnpm install -D eslint@${{ matrix.eslint }} @graphql-eslint/eslint-plugin@3 eslint-plugin-svelte@2 svelte@3 vue-eslint-parser@9

- name: Test
run: pnpm mocha

- name: Perf
# Skip on node 14, as eslint-plugin-n contains syntax that doesn't work
# with node 14
if: ${{ matrix.node-version != 14 }}
if: ${{ matrix.node != 14 }}
run: TIMING=1 pnpm lint
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache: pnpm

- name: Install Dependencies
run: pnpm install
run: pnpm install --prefer-frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
5 changes: 3 additions & 2 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"*.{js,md,ts}": ["eslint --cache -f friendly --fix"],
"*.{json,yml}": ["prettier --write"]
"*.{js,md,mjs,ts}": ["eslint --cache --fix"],
"*.{json,yml}": ["prettier --write"],
".*rc": ["prettier --write"]
}
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
"prettier-plugin-svelte"
],
"overrides": [
{
"files": [".*rc"],
"excludeFiles": [".nvmrc"],
"options": {
"parser": "json"
}
},
{
"files": [".changeset/**/*", "CHANGELOG.md"],
"options": {
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "eslint-plugin-prettier",
"version": "5.2.3",
"description": "Runs prettier as an eslint rule",
"repository": "git+https://github.com/prettier/eslint-plugin-prettier.git",
"repository": "https://github.com/prettier/eslint-plugin-prettier.git",
"homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",
"author": "Teddy Katz",
"contributors": [
Expand Down Expand Up @@ -43,9 +43,9 @@
"scripts": {
"check": "prettier --check . && pnpm lint",
"format": "prettier --write . && pnpm lint --fix",
"lint": "eslint . --cache -f friendly --max-warnings 10",
"lint": "eslint . --cache --max-warnings 10",
"prepare": "simple-git-hooks",
"release": "pnpm check && pnpm test && changeset publish",
"release": "pnpm check && mocha && clean-pkg-json changeset publish",
"test": "pnpm lint && mocha"
},
"peerDependencies": {
Expand All @@ -64,39 +64,39 @@
},
"dependencies": {
"prettier-linter-helpers": "^1.0.0",
"synckit": "^0.9.1"
"synckit": "^0.10.2"
},
"devDependencies": {
"@1stg/remark-preset": "^3.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@commitlint/config-conventional": "^18.4.3",
"@1stg/remark-preset": "^3.0.1",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
"@eslint/js": "^9.21.0",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@html-eslint/parser": "^0.24.1",
"@prettier/plugin-pug": "^3.0.0",
"@eslint/js": "^9.23.0",
"@graphql-eslint/eslint-plugin": "^4.3.0",
"@html-eslint/parser": "^0.36.0",
"@prettier/plugin-pug": "^3.2.1",
"@types/prettier-linter-helpers": "^1.0.4",
"commitlint": "^18.4.3",
"eslint": "^9.21.0",
"clean-pkg-json": "^1.2.1",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"eslint-formatter-friendly": "^7.0.0",
"eslint-mdx": "^3.1.5",
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-eslint-plugin": "^6.4.0",
"eslint-plugin-mdx": "^3.2.0",
"eslint-plugin-n": "^16.5.0",
"eslint-plugin-n": "^17.16.2",
"eslint-plugin-prettier": "link:.",
"eslint-plugin-pug": "^1.2.5",
"eslint-plugin-svelte": "^3.0.2",
"graphql": "^16.8.1",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"eslint-plugin-svelte": "^3.3.3",
"graphql": "^16.10.0",
"lint-staged": "^15.5.0",
"mocha": "^11.1.0",
"prettier": "^3.5.3",
"prettier-plugin-pkg": "^0.18.0",
"prettier-plugin-svelte": "^3.1.2",
"simple-git-hooks": "^2.9.0",
"svelte": "^5.20.5",
"vue-eslint-parser": "^9.3.2"
"prettier-plugin-pkg": "^0.18.1",
"prettier-plugin-svelte": "^3.3.3",
"simple-git-hooks": "^2.12.1",
"svelte": "^5.25.3",
"vue-eslint-parser": "^10.1.1"
},
"pnpm": {
"patchedDependencies": {
Expand Down
Loading