Jumpstart your Firebase Project
ESlint config used for Firelayer
Do you want to add the config to your own projects? There you go:
- Add this package to your devDependencies
$ npm i -D @firelayer/eslint-config
# or
$ yarn add -D @firelayer/eslint-config- Install
eslintif not already present locally or globally
$ npm i -D eslint
# or
$ yarn add -D eslint-
Create a
.eslintrcfile -
Extend our config (you can use just the scope name as ESLint will assume the
eslint-configsuffix):
{
"extends": [
"@firelayer"
]
}A full example .eslintrc:
{
"root": true,
"extends": [
"@firelayer"
]
}If you're using Vue, follow Getting Started section by replacing @firelayer/eslint-config by @firelayer/eslint-config-vue.
And in your .eslintrc all you need is :
{
"extends": [
"@firelayer/eslint-config-vue"
]
}MIT license - Firelayer