Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carpages/eslint-config-carpages
A shareable Eslint config for use by Carpages.ca developers.
https://github.com/carpages/eslint-config-carpages
eslint eslint-config javascript
Last synced: about 21 hours ago
JSON representation
A shareable Eslint config for use by Carpages.ca developers.
- Host: GitHub
- URL: https://github.com/carpages/eslint-config-carpages
- Owner: carpages
- Created: 2017-01-19T18:10:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-24T01:30:43.000Z (about 1 year ago)
- Last Synced: 2024-04-24T16:10:46.246Z (9 months ago)
- Topics: eslint, eslint-config, javascript
- Language: JavaScript
- Size: 1.76 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Carpages Eslint Base Configuration
## Installation
**NPM**
```shell
npm install --save-dev eslint eslint-config-carpages
```
**Yarn**
```shell
yarn add --dev eslint eslint-config-carpages
```## Usage
`.eslintrc.js` - If you prefer JS
```js
module.exports = {
// ...
extends: ['carpages']
// ...
}
```**OR**
`.eslintrc.json` - If you prefer JSON
```json
{
"extends": ["carpages"]
}
```**OR**
`.eslintrc` - If you prefer JSON without extension
```json
{
"extends": ["carpages"]
}
```### A base config for React development is also included
```js
module.exports = {
// ...
extends: ['carpages/react']
// ...
}
```