saber
saber copied to clipboard
ESLint and Vetur integration
Feature request
- [ ] Linting for config files
- [ ] Vetur autocompletions and templates for the customized Vue parts (like
export const data = {}
)
What problem does this feature solve?
Developer experience++
What does the proposed API look like?
How should this be implemented in your opinion?
Let's just look at Gridsome and how they've done it :eyes:
Are you willing to work on this yourself?
Yes.
Linting for config files
Do you really need that? Now you can use TypeScript:
// @ts-check
/** @type {import('saber').SaberConfig} */
const config = {
foo: true // type error
}
module.exports = config
@egoist It'd be cool if that would be applied automatically. Necessary? No :smile: