Shareable linters configuration across Macopedia's projects.
$ yarn add eslint-config-macopedia --dev
.eslintrc.js
:
extends: [
'macopedia'
],
It extends Javascript configuration
.eslintrc.js
:
extends: [
'macopedia/vue'
],
It extends Javascript + Vue.js configuration
.eslintrc.js
:
extends: [
'macopedia/nuxt'
],
stylelint.config.js
:
module.exports = {
extends: ['eslint-config-macopedia/stylelint'],
}
prettierrc.js
:
module.exports = {
...require('eslint-config-macopedia/prettier.config.js')
}