chore: use .mjs config files
This commit is contained in:
parent
833e835f65
commit
a78c67fa2f
4 changed files with 2 additions and 2 deletions
2
.github/workflows/eslint.yml
vendored
2
.github/workflows/eslint.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
- name: Run ESLint
|
||||
run: npx eslint .
|
||||
--c eslint.config.js
|
||||
--c eslint.config.mjs
|
||||
--format @microsoft/eslint-formatter-sarif
|
||||
--output-file eslint-results.sarif
|
||||
continue-on-error: false
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"pub:patch": "npm version patch && pnpm run pub",
|
||||
"pub:minor": "npm version minor && pnpm run pub",
|
||||
"format": "prettier --write \"./**/*.{js,mjs,json}\"",
|
||||
"lint": "eslint . --config eslint.config.js",
|
||||
"lint": "eslint . --config eslint.config.mjs",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"repository": "https://github.com/ayoayco/web-component-base",
|
||||
|
|
Loading…
Reference in a new issue