Files
headlamp-plugin-template/.eslintrc.js
Gandalf the Greybeard 4da033d8d7 fix: add .eslintrc.js and .prettierrc.js to fix CI lint failure
The shared CI workflow runs `npm run lint` (ESLint) and `npm run format:check`
(Prettier) but neither config file was present in the template repo. ESLint
was failing with "ESLint couldn't find a configuration file."

Add both configs matching the pattern used in other plugins in the org:
- .eslintrc.js extends @headlamp-k8s/eslint-config (provided by @kinvolk/headlamp-plugin)
- .prettierrc.js uses @headlamp-k8s/eslint-config/prettier-config

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-21 08:08:16 +00:00

4 lines
66 B
JavaScript

module.exports = {
extends: ['@headlamp-k8s/eslint-config'],
};