Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firelayer/eslint-config
Firelayer ESLint Config
https://github.com/firelayer/eslint-config
config eslint firebase firelayer typescript vue
Last synced: about 1 month ago
JSON representation
Firelayer ESLint Config
- Host: GitHub
- URL: https://github.com/firelayer/eslint-config
- Owner: firelayer
- License: mit
- Created: 2020-04-03T22:34:36.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-11T11:12:49.000Z (almost 4 years ago)
- Last Synced: 2024-11-09T10:41:36.465Z (about 1 month ago)
- Topics: config, eslint, firebase, firelayer, typescript, vue
- Language: JavaScript
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> Jumpstart your Firebase Project
# Firelayer ESLint Config
[![GitHub Actions](https://github.com/firelayer/eslint-config/workflows/ci/badge.svg?branch=master)](https://github.com/firelayer/eslint-config/actions?query=workflow%3Aci)
[![npm (scoped with tag)](https://flat.badgen.net/npm/v/@firelayer/eslint-config)](https://npmjs.com/package/@firelayer/eslint-config)
[![npm](https://flat.badgen.net/npm/dt/@firelayer/eslint-config)](https://npmjs.com/package/@firelayer/eslint-config)ESlint config used for Firelayer
## Getting Started
Do you want to add the config to your own projects? There you go:
1. Add this package to your devDependencies
```bash
$ npm i -D @firelayer/eslint-config
# or
$ yarn add -D @firelayer/eslint-config
```2. Install `eslint` if not already present locally or globally
```bash
$ npm i -D eslint
# or
$ yarn add -D eslint
```3. Create a `.eslintrc` file
4. Extend our config (you can use just the scope name as ESLint will assume the `eslint-config` suffix):
```json
{
"extends": [
"@firelayer"
]
}
```## Full example
A full example `.eslintrc`:
```json
{
"root": true,
"extends": [
"@firelayer"
]
}
```## Vue
If you're using Vue, follow [Getting Started](#getting-started) section by replacing `@firelayer/eslint-config` by `@firelayer/eslint-config-vue`.
And in your `.eslintrc` all you need is :
```json
{
"extends": [
"@firelayer/eslint-config-vue"
]
}
```## License
[MIT license](https://github.com/firelayer/eslint-config/blob/master/LICENSE) - Firelayer