# eslint-config-davinci

> eslint config

Latest version **1.0.2** (published 2017-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-config-davinci
pnpm add eslint-config-davinci
yarn add eslint-config-davinci
bun add eslint-config-davinci
```

## 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 | 2017-05-03 |
| First published | 2017-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | JackZhang |
| Maintainers | jackzhangxl |

## Links

- npm: https://www.npmjs.com/package/eslint-config-davinci
- Repository: https://github.com/JackZhangXL/eslint-config-davinci
- Homepage: https://github.com/JackZhangXL/eslint-config-davinci#readme
- Issues: https://github.com/JackZhangXL/eslint-config-davinci/issues
- npm.io page: https://npm.io/package/eslint-config-davinci

## Dependencies (5)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^7.1.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^6.10.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^14.1.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.2.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^4.0.0

## Recent versions

- 1.0.2 (latest) — 2017-05-03

## README

# eslint-config-davinci

eslint config base on airbnb

support `ES6` and `JSX`

Name was taken from the Renaissance Leonardo da Vinci, every programmer is an artist~

# Installation

* install

`yarn add eslint-config-davinci eslint eslint-loader --dev`

* create file `.eslintrc` at root path

```json
{
    "extends": "eslint-config-davinci"
}
```

* add `package.json`

```json
{
  "scripts": {
    "lint": "eslint ./src"
  }
}
```

* add `webpack.config` (optional)

``` JavaScript
module: {
    // webpack 1.*
    loaders: [
        {
            enforce: 'pre',
            test: /\.js$/,
            include: [
                path.resolve(BASEDIR, 'src'),
            ],
            loader: 'eslint-loader',
        }
    ]
    // webpack 2.*
    rules: [
        {
            enforce: 'pre',
            test: /\.js$/,
            include: [
                path.resolve(BASEDIR, 'src'),
            ],
            loader: 'eslint-loader',
        }
    ]
},
```

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