Skip to content

Commit 1e3a60a

Browse files
committed
added ignore rule @stylistic/eol-last; fixed linting
1 parent 9a137c7 commit 1e3a60a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ runs:
143143
console.error(`❌ Error processing ${{ inputs.label }} results:`, error);
144144
145145
// Detect when user forgot to return a value (causing body = undefined)
146-
if ( error.code === 'ERR_INVALID_ARG_TYPE' && /The "data" argument must be of type string/i.test(error.message)) {
146+
if (error.code === 'ERR_INVALID_ARG_TYPE' && /The "data" argument must be of type string/i.test(error.message)) {
147147
console.error(`💡 Hint: Your script returned a non-string value (e.g., object, array, or undefined) — or nothing at all.\n`
148148
+ `Please return a string, or serialize your result using JSON.stringify.\n\n`
149149
+ `For example:\n\n`

eslint.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ export default defineConfig([
2323
},
2424
},
2525
rules: {
26+
"@stylistic/eol-last": "off",
2627
"@stylistic/indent": "off",
27-
"@stylistic/quotes": "off",
28-
"@stylistic/object-curly-spacing": "off",
2928
"@stylistic/indent-binary-ops": "off",
29+
"@stylistic/object-curly-spacing": "off",
30+
"@stylistic/quotes": "off",
3031
camelcase: [
3132
"warn",
3233
{ allow: ["issue_number"] },

0 commit comments

Comments
 (0)