Comments (5)
from umi.
由于缺乏足够的信息,我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。
from umi.
因为 stylelint 大版本迭代的比较快,现在 umi lint 支持的是 stylelint v14 版本的,安装 ^14.0.0
版本的 stylelint
就可以了:
"stylelint": "^14.0.0"
当仅需要检查样式文件时,可以使用:
pnpm umi lint --stylelint-only
from umi.
因为 stylelint 大版本迭代的比较快,现在 umi lint 支持的是 stylelint v14 版本的,安装
^14.0.0
版本的stylelint
就可以了:"stylelint": "^14.0.0"当仅需要检查样式文件时,可以使用:
pnpm umi lint --stylelint-only
官方文档里更新一下把,我和这位老哥一样的问题,都快砸键盘了
from umi.
目测有这个问题的是少数的,因为初始化 max 项目的是自带了 stylelint v14 ,而 ant-pro 的用户都是 max 项目,只有使用 umi 项目的,并且自己手动添加了 stylelint 才会发生这个问题。
欢迎 PR 在文档添加对 stylelint 版本要求的说明。
from umi.
Related Issues (20)
- [Feature Request] 修复umi和umi plugin的依赖树中存在的一些cve高危漏洞 HOT 3
- [Bug] umi4 root节点预置内容,加载过程中会先显示预制html之后白屏再显示 HOT 4
- umi4白屏问题,急急急!!! HOT 2
- [Bug] 使用umi自带的style-component插件时候, umijs会报错 HOT 2
- [Bug] 使用umi自带的style-component插件时候, umijs会报错 HOT 1
- [Bug] 使用umi自带的style-component插件时候, umijs会报错 HOT 1
- [Bug] Link 不传 pathname 不显示内容 HOT 2
- [Bug] third party css is not bundled in production HOT 4
- [Bug] npx max lint 无法检测错误调用字段 HOT 3
- [Bug] 使用 umi max,自定义布局出现两个 Layout 重叠 HOT 1
- 如何给body添加类名? HOT 2
- [Bug] 关闭dynamicImport的配置办法无效 HOT 8
- [Bug] :root 设置 var 在生产环境失效 HOT 3
- [Feature Request] preview 增加支持 env 配置 HOT 1
- [Bug] 子应用切换后 appName 会变成 [appName]_1 HOT 2
- renderClient 能否返回 app 实例?手动 render 时想要获取到 app 实例,因为需求是在指定时机手动销毁 app 实例 HOT 2
- [Feature Request] renderClient 能否返回 app 实例?手动 render 时想要获取到 app 实例,因为需求是在指定时机手动销毁 app 实例 HOT 1
- [Bug] 直接打开带.html后缀的路由,页面内content会404 HOT 2
- chorme 80浏览器,引入antd样式丢失的问题。 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umi.