Skip to content

Commit c574a6d

Browse files
committed
prettier settings fixed
1 parent 9c3e9d2 commit c574a6d

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.eslintrc.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
"semi": "off",
4646
"@typescript-eslint/semi": ["error", "never"],
4747
"@typescript-eslint/type-annotation-spacing": "error",
48-
"@typescript-eslint/unbound-method": "error"
48+
"@typescript-eslint/unbound-method": "error",
49+
"prettier/prettier": ["error", {
50+
"endOfLine": "auto" }
51+
]
4952
},
5053
"env": {
5154
"node": true,

.prettierrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"trailingComma": "none",
88
"bracketSpacing": false,
99
"arrowParens": "avoid",
10-
"crlf": "auto"
10+
"endOfLine": "auto"
1111
}

dist/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as core from '@actions/core'
2-
import {wait} from './wait'
32
import * as fs from 'fs'
3+
import {wait} from './wait'
44

55
async function run(): Promise<void> {
66
try {
@@ -15,7 +15,7 @@ async function run(): Promise<void> {
1515
core.debug(new Date().toTimeString())
1616
await wait(parseInt(ms, 10))
1717
core.debug(new Date().toTimeString())
18-
18+
1919
fs.writeFileSync(fileName, json)
2020
core.info(`File written successfully`)
2121

0 commit comments

Comments
 (0)