diff --git a/eslint.config.mjs b/eslint.config.mjs index 69e4aed..3a81ebf 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -5,6 +5,9 @@ export default config([ files: ['src/**/*.js', 'src/**/*.ts'], }, { - rules: {}, + rules: { + '@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }], + '@stylistic/operator-linebreak': ['error', 'after'], + }, }, ]) diff --git a/src/inputs.ts b/src/inputs.ts index d62de33..50c537e 100644 --- a/src/inputs.ts +++ b/src/inputs.ts @@ -1,4 +1,5 @@ import * as core from '@actions/core' +// eslint-disable-next-line import/no-named-as-default import parseInputs from '@wow-actions/parse-inputs' export function getInputs() { diff --git a/src/windup.ts b/src/windup.ts index ed5a7f0..1309ae2 100644 --- a/src/windup.ts +++ b/src/windup.ts @@ -1,5 +1,5 @@ import * as core from '@actions/core' -import { Result } from 'semantic-release' +import { type Result } from 'semantic-release' export async function windup(result: Result) { if (!result) {