0.2.1 • Published 3 years ago
eslint-config-macopedia v0.2.1
eslint-config-macopedia
Shareable linters configuration across Macopedia's projects.
Instalation
$ yarn add eslint-config-macopedia --dev
JavaScript projects
.eslintrc.js
:
extends: [
'macopedia'
],
Vue.js
It extends Javascript configuration
.eslintrc.js
:
extends: [
'macopedia/vue'
],
Nuxt.js
It extends Javascript + Vue.js configuration
.eslintrc.js
:
extends: [
'macopedia/nuxt'
],
Stylelint
stylelint.config.js
:
module.exports = {
extends: ['eslint-config-macopedia/stylelint'],
}
Prettier
prettierrc.js
:
module.exports = {
...require('eslint-config-macopedia/prettier.config.js')
}