Giter Site home page Giter Site logo

Comments (5)

60late avatar 60late commented on May 23, 2024 1

@fz6m 已提pr #12084

from umi.

github-actions avatar github-actions commented on May 23, 2024

由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。

from umi.

fz6m avatar fz6m commented on May 23, 2024

因为 stylelint 大版本迭代的比较快,现在 umi lint 支持的是 stylelint v14 版本的,安装 ^14.0.0 版本的 stylelint 就可以了:

  "stylelint": "^14.0.0"

当仅需要检查样式文件时,可以使用:

  pnpm umi lint --stylelint-only

from umi.

60late avatar 60late commented on May 23, 2024

因为 stylelint 大版本迭代的比较快,现在 umi lint 支持的是 stylelint v14 版本的,安装 ^14.0.0 版本的 stylelint 就可以了:

  "stylelint": "^14.0.0"

当仅需要检查样式文件时,可以使用:

  pnpm umi lint --stylelint-only

官方文档里更新一下把,我和这位老哥一样的问题,都快砸键盘了

from umi.

fz6m avatar fz6m commented on May 23, 2024

目测有这个问题的是少数的,因为初始化 max 项目的是自带了 stylelint v14 ,而 ant-pro 的用户都是 max 项目,只有使用 umi 项目的,并且自己手动添加了 stylelint 才会发生这个问题。

欢迎 PR 在文档添加对 stylelint 版本要求的说明。

from umi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.