Skip to content

Commit 04e4101

Browse files
Add prettier settings (#2)
1 parent fac4dea commit 04e4101

File tree

5 files changed

+46
-4
lines changed

5 files changed

+46
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
cache: "npm"
25+
cache: 'npm'
2626

2727
- name: Install dependencies
2828
run: npm ci

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
- name: Set up Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: "24.x"
21-
registry-url: "https://npm.pkg.github.com/"
20+
node-version: '24.x'
21+
registry-url: 'https://npm.pkg.github.com/'
2222

2323
- name: Install dependencies
2424
run: npm install

.prettierignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Build outputs
2+
dist/
3+
build/
4+
*.min.js
5+
6+
# Dependencies
7+
node_modules/
8+
9+
# Package files
10+
package-lock.json
11+
yarn.lock
12+
pnpm-lock.yaml
13+
14+
# Generated files
15+
*.d.ts.map
16+
17+
# Logs
18+
*.log
19+
20+
# Environment files
21+
.env
22+
.env.local
23+
.env.*.local
24+
25+
# IDE files
26+
.vscode/
27+
.idea/
28+
29+
# OS files
30+
.DS_Store
31+
Thumbs.db

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"printWidth": 120,
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"bracketSpacing": true,
9+
"arrowParens": "avoid",
10+
"endOfLine": "lf"
11+
}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { BackendExtension } from "@runtimed/extensions";
1+
import { BackendExtension } from '@runtimed/extensions';
22

33
const extension: BackendExtension = {};
44
export default extension;

0 commit comments

Comments
 (0)