无法设置未定义的属性(设置' block_end')csssyntaxerror- stylelint
试图将衬里添加到我的项目中。使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论