Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ms918/mrm-task-eslint

mengshang9185MIT0.5.2

mrm task 配置lint-staged

mrm, mrm-task, lint-staged

readme

@ms918/mrm-task-eslint

mrm task,用来创建package.jsoneslintConfig字段

创建的默认eslintConfig字段如下

{
  "eslintConfig": {
    "extends": "@ms918/eslint-config-react"
  }
}

用法

npm install -g @ms918/mrm-task-eslint
mrm @ms918/mrm-task-eslint

当执行的时候,会走下面步骤:

  1. 获取eslint-config-react-app的相对依赖
  2. 获取@ms918/eslint-config-react的最新版本
  3. yarno rinstall安装eslint-config-react-app的相对依赖和@ms918/eslint-config-react
  4. 设置package.jsoneslintConfig.extends@ms918/eslint-config-react

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.5.2 (2021-03-10)

Note: Version bump only for package @ms918/mrm-task-eslint

0.5.1 (2021-03-08)

Note: Version bump only for package @ms918/mrm-task-eslint

0.5.0 (2021-03-02)

Features

0.4.0 (2021-03-02)

Features

0.3.0 (2021-03-02)

Features

0.2.0 (2021-03-02)

Features