Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dbbd6d

Browse files
authored
feat: add name to config (#294)
1 parentcba5737 commit8dbbd6d

File tree

5 files changed

+405
-404
lines changed

5 files changed

+405
-404
lines changed

‎.changeset/large-dodos-carry.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-config-prettier":patch
3+
---
4+
5+
Add name to config

‎.github/workflows/check.yml‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
-"main"
77
pull_request:
88

9+
concurrency:
10+
group:${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress:true
12+
913
permissions:
1014
contents:read
1115

@@ -17,6 +21,7 @@ jobs:
1721
matrix:
1822
os:[ubuntu-latest]
1923
node-version:[20]
24+
fail-fast:false
2025

2126
steps:
2227
-uses:actions/checkout@v4
@@ -26,16 +31,9 @@ jobs:
2631
-uses:actions/setup-node@v4
2732
with:
2833
node-version:${{ matrix.node-version }}
29-
30-
-name:Cache node_modules
31-
id:cache-node_modules
32-
uses:actions/cache@v4
33-
with:
34-
path:node_modules
35-
key:node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
34+
cache:npm
3635

3736
-name:npm ci
38-
if:steps.cache-node_modules.outputs.cache-hit != 'true'
3937
run:npm ci --no-audit
4038

4139
-name:ESLint - flat

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
-"main"
77
pull_request:
88

9+
concurrency:
10+
group:${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress:true
12+
913
permissions:
1014
contents:read
1115

@@ -17,6 +21,7 @@ jobs:
1721
matrix:
1822
os:[ubuntu-latest, windows-latest, macOS-latest]
1923
node-version:[16, 18, 20, 22]
24+
fail-fast:false
2025

2126
steps:
2227
-uses:actions/checkout@v4
@@ -26,16 +31,9 @@ jobs:
2631
-uses:actions/setup-node@v4
2732
with:
2833
node-version:${{ matrix.node-version }}
29-
30-
-name:Cache node_modules
31-
id:cache-node_modules
32-
uses:actions/cache@v4
33-
with:
34-
path:node_modules
35-
key:node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
34+
cache:npm
3635

3736
-name:npm ci
38-
if:steps.cache-node_modules.outputs.cache-hit != 'true'
3937
run:npm ci --no-audit
4038

4139
-name:Jest - flat

‎index.d.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
typeConfig={
2-
rules:Record<string,0|"off">;
3-
};
1+
exportconstname:"config-prettier"|undefined;
42

5-
declareconstconfig:Config;
6-
7-
export=config;
3+
exportconstrules:Record<string,0|"off">;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp