ESLint shareable config for QuizJam
$ yarn add eslint eslint-plugin-standard eslint-config-standard eslint-config-quizjam
for vue support
$ yarn add eslint-plugin-vue
Add base quizjam
to .eslintrc.js
module.exports = {
extends: ['quizjam'],
};
Add also quizjam/vue
to .eslintrc.js
module.exports = {
extends: ['quizjam', 'quizjam/vue'],
};
Add new files to the root folder and then they can be used like quizjam/<filename>