saberland/saber

Do you want to work on this issue?

You can request for a bounty in order to promote it!

ESLint and Vetur integration #569

krmax44 posted onGitHub

<!-- Please don't delete this template or we'll close your issue -->

<!-- Before creating an issue please make sure you are using the latest version of Saber. -->

Feature request

<!-- Please ask questions via following several ways. -->

<!-- https://chat.saber.land/ -->

<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->

  • 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
posted by egoist over 5 years ago

@egoist It'd be cool if that would be applied automatically. Necessary? No :smile:

posted by krmax44 over 5 years ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests