Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/socifi/eslint-config
Pluggable ESLint config used in SOCIFI
https://github.com/socifi/eslint-config
eslint eslint-config
Last synced: 28 days ago
JSON representation
Pluggable ESLint config used in SOCIFI
- Host: GitHub
- URL: https://github.com/socifi/eslint-config
- Owner: socifi
- License: apache-2.0
- Created: 2018-01-26T10:45:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:28:15.000Z (almost 2 years ago)
- Last Synced: 2024-09-25T00:07:45.309Z (about 1 month ago)
- Topics: eslint, eslint-config
- Language: JavaScript
- Size: 2.13 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ESLint Config SOCIFI
[![npm version](https://badge.fury.io/js/%40socifi%2Feslint-config.svg)](https://badge.fury.io/js/%40socifi%2Feslint-config)
[![CircleCI](https://circleci.com/gh/socifi/eslint-config/tree/master.svg?style=shield)](https://circleci.com/gh/socifi/eslint-config/tree/master)This is default ESlint configurations for projects in SOCIFI.
## Usage
First install the package:
```nodemon
npm install @socifi/eslint-config --save-dev
```and update you ESLint configuration:
```javascript
module.exports = {
extends: [
'@socifi',
],
};```
In basic configuration following plugins are included:
- **import** - We use ECMAScript 6 modules.
- **jsdoc** - Predefined style for comments of methods.
- **promise** - Predefined style for promises.
- **compat** - To check that used features are supported by certain browsers.
- **unicorn** - Various lints.
- **filenames** - Lint file names.
- **sonar** - various piggy code detection
- **typescript**
- **array-func**There are more extendable configurations for tests or different envs:
```javascript
module.exports = {
extends: [
'@socifi',
'@socifi/eslint-config/react',
'@socifi/eslint-config/jasmine',
'@socifi/eslint-config/jest',
'@socifi/eslint-config/babel-resolver',
],
};
```