-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Node Version: v21.4.0
Yarn Version: v1.22.17
NPM Version: 10.2.4
Steps to reproduce:
-
Run
mkdir stylelint && cd stylelint
. -
Run
yarn init
and follow prompts. -
Run
npm init stylelint
-
Run
touch index.css
-
Run
npx stylelint "**/*.css"
. Note the output:index.css 1:1 ✖ Unexpected empty source no-empty-source 1 problem (1 error, 0 warnings)
-
Run
yarn add @thoughtbot/stylelint-config --dev
-
Update
.stylelintrc.json
.{ "extends": ["@thoughtbot/stylelint-config"] }
-
Run
npx stylelint "**/*.css"
. Note the output:❯ npx stylelint "**/*.css" TypeError: Cannot read properties of undefined (reading 'rejected') at Object.<anonymous> (/Users/polito/Sites/playground/stylelint/node_modules/stylelint-scss/src/rules/comment-no- empty/index.js:12:42) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object.<anonymous> (/Users/polito/Sites/playground/stylelint/node_modules/stylelint-scss/src/rules/index.js:31:23) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
Metadata
Metadata
Assignees
Labels
No labels