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
|
# These are supported funding model platforms
|
||||||
|
|
||||||
github: revi
|
github: revi
|
||||||
|
|
3
.github/dependabot.yml
vendored
3
.github/dependabot.yml
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# https://issuetracker.revi.xyz/u/dependabot
|
# https://issuetracker.revi.xyz/u/dependabot
|
||||||
# for documentation link
|
# for documentation link
|
||||||
|
|
||||||
|
@ -30,7 +31,6 @@ updates:
|
||||||
time: '10:00'
|
time: '10:00'
|
||||||
timezone: 'Asia/Seoul'
|
timezone: 'Asia/Seoul'
|
||||||
target-branch: 'master'
|
target-branch: 'master'
|
||||||
labels: []
|
|
||||||
# Maintain dependencies for NPM
|
# Maintain dependencies for NPM
|
||||||
- package-ecosystem: 'npm'
|
- package-ecosystem: 'npm'
|
||||||
assignees:
|
assignees:
|
||||||
|
@ -43,4 +43,3 @@ updates:
|
||||||
time: '10:00'
|
time: '10:00'
|
||||||
timezone: 'Asia/Seoul'
|
timezone: 'Asia/Seoul'
|
||||||
target-branch: 'master'
|
target-branch: 'master'
|
||||||
labels: []
|
|
||||||
|
|
5
.github/workflows/quicksyntaxcheck.yml
vendored
5
.github/workflows/quicksyntaxcheck.yml
vendored
|
@ -1,11 +1,10 @@
|
||||||
|
---
|
||||||
name: 'PHP Syntax Check'
|
name: 'PHP Syntax Check'
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '**.php'
|
- '**.php'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
|
||||||
- '**.php'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -15,4 +14,4 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: PHP Basic Syntax Check
|
- 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",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"name": "@revi/eslint-config",
|
"name": "@revi/eslint-config",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"description": "@revi's shared eslint config",
|
"description": "@revi's shared eslint config",
|
||||||
"main": "eslint.config.js",
|
"main": "eslint.config.js",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@eslint/js": "^8.0.0 || ^9.0.0",
|
"@eslint/js": "^8.0.0 || ^9.0.0",
|
||||||
"eslint": "^8.0.0 || ^9.0.0",
|
"eslint": "^8.0.0 || ^9.0.0",
|
||||||
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"globals": "^15.4.0"
|
"globals": "^15.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@revi/prettier-config": "^0.0.2",
|
"@revi/prettier-config": "^0.0.2",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
|
||||||
"prettier": "^3.3.2"
|
"prettier": "^3.3.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in a new issue