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:
parent
68f2133e9c
commit
959705258e
4 changed files with 6 additions and 7 deletions
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: revi
|
||||
|
|
3
.github/dependabot.yml
vendored
3
.github/dependabot.yml
vendored
|
@ -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: []
|
||||
|
|
5
.github/workflows/quicksyntaxcheck.yml
vendored
5
.github/workflows/quicksyntaxcheck.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue