eslint-config-bdougherty
ESLint shareable config for my personal projects.
Install
yarn add eslint-config-bdougherty
Usage
This config contains a couple rule overrides and is primarily designed to be used with XO. Add the following to package.json:
{
"xo": {
"extends": "bdougherty"
}
}
This package also exposes other configs that can be used for specific types of projects.
bdougherty/browser
for browser-based projects:
{
"xo": {
"extends": "bdougherty/browser"
}
}
bdougherty/vue
for Vue.js-based projects:
{
"xo": {
"extends": "bdougherty/vue",
"extensions": [
"vue"
]
}
}
bdougherty/nuxt
for Nuxt.js-based projects:
{
"xo": {
"extends": "bdougherty/nuxt",
"extensions": [
"vue"
]
}
}
bdougherty/svelte
for Svelte-based projects:
{
"xo": {
"extends": "bdougherty/svelte",
"extensions": [
"html"
]
}
}
bdougherty/sapper
for Sapper-based projects:
{
"xo": {
"extends": "bdougherty/sapper",
"extensions": [
"html"
]
}
}
Note: make sure to add the extensions config for both Vue.js and Nuxt.js projects if using single-file components.
License
MIT © Brad Dougherty