New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eslint-config-doly-react

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-doly-react

doly javascript ESLint config

latest
Source
npmnpm
Version
0.0.3-alpha.0
Version published
Maintainers
1
Created
Source

eslint-config-doly-react

Build Status

基于eslint-config-airbnb进行扩展的,javascript的风格指南(包含React)

默认导出包含所有ESLint规则,包括ECMAScript 6+和React。如果您不需要React,请使用eslint-config-doly

如何使用

请运行以下命令:

npm install --save-dev eslint eslint-config-doly-react

配置.eslintrc

{
  "extends": "eslint-config-doly-react"
}

基础规则

规范基于eslint-config-airbnb上进行扩展

Airbnb JavaScript Style Guide

关于规则的修改或扩展

配置.eslintrc

//.eslintrc
{
  "extends": ["eslint-config-doly-react"],
   "rules": {
     "semi": ["error", "always"]
   }
}

License

MIT License

Keywords

eslint

FAQs

Package last updated on 10 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts