4da033d8d7
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>
4 lines
66 B
JavaScript
4 lines
66 B
JavaScript
module.exports = {
|
|
extends: ['@headlamp-k8s/eslint-config'],
|
|
};
|