npm(eslint-config): correct wrong peerDependency

Summary:
eslint-config-prettier should have been peerDependency not devDependency.
Correct them by moving it.

(Also do some yml cleanups.)

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm ci`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D342
This commit is contained in:
revi 2024-06-17 12:51:51 +09:00
parent 68f2133e9c
commit 959705258e
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94
4 changed files with 6 additions and 7 deletions

1
.github/FUNDING.yml vendored
View file

@ -1,3 +1,4 @@
---
# These are supported funding model platforms
github: revi

View file

@ -1,3 +1,4 @@
---
# https://issuetracker.revi.xyz/u/dependabot
# for documentation link
@ -30,7 +31,6 @@ updates:
time: '10:00'
timezone: 'Asia/Seoul'
target-branch: 'master'
labels: []
# Maintain dependencies for NPM
- package-ecosystem: 'npm'
assignees:
@ -43,4 +43,3 @@ updates:
time: '10:00'
timezone: 'Asia/Seoul'
target-branch: 'master'
labels: []

View file

@ -1,11 +1,10 @@
---
name: 'PHP Syntax Check'
on:
push:
paths:
- '**.php'
pull_request:
paths:
- '**.php'
workflow_dispatch:
jobs:
@ -15,4 +14,4 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: PHP Basic Syntax Check
run: php -l {{ $github.workspace }}/PhabExt/PhabricatorCustomRobotsTxtController.php
run: php -l ${{ github.workspace }}/PhabExt/PhabricatorCustomRobotsTxtController.php

View file

@ -1,17 +1,17 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@revi/eslint-config",
"version": "0.0.2",
"version": "0.0.3",
"description": "@revi's shared eslint config",
"main": "eslint.config.js",
"peerDependencies": {
"@eslint/js": "^8.0.0 || ^9.0.0",
"eslint": "^8.0.0 || ^9.0.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.4.0"
},
"devDependencies": {
"@revi/prettier-config": "^0.0.2",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.2"
},
"scripts": {