All Posts
News bits
Stylelint 17.0.0 リリース、ESMへの移行やCSS Nesting対応など
Stylelint 17.0.0 リリース、ESMへの移行やCSS Nesting対応など
Stylelint 17.0.0がリリースされた。ECMAScript modules (ESM) への移行、CSS Nesting対応のルール刷新、Node.js 20.19.0未満のサポート終了などの破壊的変更が含まれる。
主な変更点:
- ESM移行: CommonJS Node.js APIが削除され、ESMが必須となった。
- CSS Nesting対応:
selector-max-*系のルールが標準CSS Nestingに対応し、ネストを展開せずに評価するようになった。 - API変更:
stylelint.lint()の戻り値からoutputプロパティが削除された(codeプロパティを使用)。 - 非推奨機能の削除: GitHub formatter、
selector-class-patternのresolveNestedSelectorsオプションなどが削除された。
デフォルトの --fix モードが strict に変更され、構文エラーがある場合は修正を行わない安全な挙動となった。
著者について
Hi there. I'm hrdtbs, a frontend expert and technical consultant. I started my career in the creative industry over 13 years ago, learning on the job as a 3DCG modeler and game engineer in the indie scene.
In 2015 I began working as a freelance web designer and engineer. I handled everything from design and development to operation and advertising, delivering comprehensive solutions for various clients.
In 2016 I joined Wemotion as CTO, where I built the engineering team from the ground up and led the development of core web and mobile applications for three years.
In 2019 I joined matsuri technologies as a Frontend Expert, and in 2020 I also began serving as a technical manager supporting streamers and content creators.
I'm so grateful to be working in this field, doing something that brings me so much joy. Thanks for stopping by.