# eslint-config-jycs-base

> ESLint rule set for JavaScript projects

Latest version **1.0.2** (published 2020-12-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-jycs-base
pnpm add eslint-config-jycs-base
yarn add eslint-config-jycs-base
bun add eslint-config-jycs-base
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-12-19 |
| First published | 2020-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jeremy Cassou |
| Maintainers | jeremy-cassou |

## Links

- npm: https://www.npmjs.com/package/eslint-config-jycs-base
- Repository: https://github.com/jeremy-cassou/eslint-config-jycs-base
- Homepage: https://github.com/jeremy-cassou/eslint-config-jycs-base#readme
- Issues: https://github.com/jeremy-cassou/eslint-config-jycs-base/issues
- npm.io page: https://npm.io/package/eslint-config-jycs-base

## Recent versions

- 1.0.2 (latest) — 2020-12-19
- 1.0.1 — 2020-12-05
- 1.0.0 — 2020-12-05

## README

# eslint-config-jycs-base

ESLint rule set for JavaScript projects

## Install
```
npm install --save-dev eslint eslint-config-airbnb-base eslint-import-resolver-alias
npm install --save-dev eslint-config-jycs-base
```

# .eslintrc.js file example
```javascript
module.exports = {
  root: true,
  extends: ['eslint-config-jycs-vue'],
}
```

# Husky config example
Example of usage with Husky for check lint before commit
(Also includes lint for commit message with conventional commit)
```json
{ // package.json
  "scripts": {
    "lint": "eslint ."
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
    "eslint": "^6.7.2",
    "eslint-config-airbnb-base": "^14.2.0",
    "eslint-import-resolver-alias": "^1.1.2",
    "eslint-plugin-import": "^2.22.1",
    "husky": "^4.3.0",
    "lint-staged": "^10.4.0",
  },
  "lint-staged": {
    "*.{js,vue}": [
      "npm run lint",
      "git add"
    ]
  },
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    }
  }
}
```

---
_Source: https://npm.io/package/eslint-config-jycs-base · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
