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>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
module.exports = require('@headlamp-k8s/eslint-config/prettier-config');
|
||||
Reference in New Issue
Block a user