1.0.8 • Published 7 years ago

@someok/eslint-config-react v1.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

eslint-config-react

我的常用 eslint 配置,之所以搞出这么个配置是为了方便在多个项目中引入, 而不需要在每个项目中拷贝一份。

此配置依赖 airbnb 的配置,并做了一些简单的调整。

安装

npm i --save-dev @someok/eslint-config-react

配置

.eslintrc.json 配置:

{
    "extends": [
        "@someok/eslint-config-react"
    ]
}

配置查看方式

如果想查看某项目下合并后的 eslint 配置,可以运行如下命令:

npm run eslint -- --print-config .eslintrc.json

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago