无法设置未定义的属性(设置' block_end')csssyntaxerror- stylelint

发布于 2025-02-08 02:01:10 字数 896 浏览 1 评论 0原文

试图将衬里添加到我的项目中。使用SASS。

一项研究后,我选择了Stylelint。

运行时有错误:

npx stylelint "**/*.sass"

这是代码

@import '../../../../sass/config/variables'

.settingsPage
  align-content: center
  background: #f7f9fc
  display: flex
  flex-direction: column
  height: 100vh
  margin: 0 auto

    .tabsNav
        padding-top: 0

.headerSection
  background-color: $header-section-color

.title
    color: $blue-gray
    font-size: 28px
    font-weight: 600
    margin-bottom: 60px
    margin-top: 20px

.warningContainer
    align-content: center
    display: flex
    justify-content: center
    margin-bottom: 30px
    margin-top: -52px

.tabContent
  background-color: $content-section-color
  height: 64%
  padding-top: 30px

.container
    overflow-y: scroll

找不到任何错误的原因。

trying to add linter to my project.Using sass.

I selected stylelint after a research.

Having that error when running :

npx stylelint "**/*.sass"

this is the code

@import '../../../../sass/config/variables'

.settingsPage
  align-content: center
  background: #f7f9fc
  display: flex
  flex-direction: column
  height: 100vh
  margin: 0 auto

    .tabsNav
        padding-top: 0

.headerSection
  background-color: $header-section-color

.title
    color: $blue-gray
    font-size: 28px
    font-weight: 600
    margin-bottom: 60px
    margin-top: 20px

.warningContainer
    align-content: center
    display: flex
    justify-content: center
    margin-bottom: 30px
    margin-top: -52px

.tabContent
  background-color: $content-section-color
  height: 64%
  padding-top: 30px

.container
    overflow-y: scroll

couldnt find any reason for that error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文