-
Couldn't load subscription status.
- Fork 19
Open
Description
Apologies if this is not the right place, but I'm not quite sure what to do about these warnings other than disable the related rules entirely:
> stylelint -c stylelint.config.mjs "{Assets,Views}/**/*.{css,scss}"
(node:16108) [stylelint:007] DeprecationWarning: Partial position information in the `utils.report()` function is deprecated ("scss/double-slash-comment-whitespace-inside").
Please pass both `index` and `endIndex` as arguments in the `utils.report()` function of "scss/double-slash-comment-whitespace-inside".
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:16108) [stylelint:007] DeprecationWarning: Partial position information in the `utils.report()` function is deprecated ("scss/at-else-closing-brace-newline-after").
Please pass both `index` and `endIndex` as arguments in the `utils.report()` function of "scss/at-else-closing-brace-newline-after".
(node:16108) [stylelint:007] DeprecationWarning: Partial position information in the `utils.report()` function is deprecated ("scss/at-else-closing-brace-space-after").
Please pass both `index` and `endIndex` as arguments in the `utils.report()` function of "scss/at-else-closing-brace-space-after".
(node:16108) [stylelint:007] DeprecationWarning: Partial position information in the `utils.report()` function is deprecated ("scss/at-if-closing-brace-newline-after").
Please pass both `index` and `endIndex` as arguments in the `utils.report()` function of "scss/at-if-closing-brace-newline-after".
(node:16108) [stylelint:007] DeprecationWarning: Partial position information in the `utils.report()` function is deprecated ("scss/at-if-closing-brace-space-after").
Please pass both `index` and `endIndex` as arguments in the `utils.report()` function of "scss/at-if-closing-brace-space-after".
npm deps:
"stylelint": "^16.13.0",
"stylelint-config-standard": "^37.0.0",
"stylelint-config-standard-scss": "^14.0.0"
stylelint.config.mjs
export default {
overrides: [
{
files: ['*.css'],
extends: ['stylelint-config-standard'],
rules: {
'no-empty-source': null,
},
},
{
files: ['*.scss'],
extends: ['stylelint-config-standard-scss'],
rules: {
// 'scss/double-slash-comment-empty-line-before': null,
// 'scss/at-mixin-argumentless-call-parentheses': null,
// 'no-empty-source': null,
// This disabled rules hide deprecation warnings
// 'scss/double-slash-comment-whitespace-inside': null,
// 'scss/at-else-closing-brace-newline-after': null,
// 'scss/at-else-closing-brace-space-after': null,
// 'scss/at-if-closing-brace-newline-after': null,
// 'scss/at-if-closing-brace-space-after': null,
},
},
],
};
stylelint report command (npm script)
"stylelint": "stylelint -c stylelint.config.mjs \"{Assets,Views}/**/*.{css,scss}\"",
Can I ignore this? It seems like its for the plugin author?
maddieholtzer and alebelcorbfrickam-mattia-m
Metadata
Metadata
Assignees
Labels
No labels