Browse Source

Update stylelint to 15.11.0 (was 14.16.1)

https://github.com/stylelint/stylelint/blob/15.11.0/docs/migration-guide/to-15.md
merge-requests/173/head
Andrew Shu 4 weeks ago
parent
commit
f72573a1a6
  1. 775
      tildes/package-lock.json
  2. 8
      tildes/package.json
  3. 4
      tildes/scss/modules/_comment.scss
  4. 3
      tildes/scss/modules/_theme-preview.scss
  5. 1
      tildes/scss/themes/_atom_one_dark.scss

775
tildes/package-lock.json
File diff suppressed because it is too large
View File

8
tildes/package.json

@ -6,7 +6,7 @@
"scripts": {
"lint": "npm run lint:js ; npm run lint:scss",
"lint:js": "node node_modules/eslint/bin/eslint.js static/js/",
"lint:scss": "node node_modules/stylelint/bin/stylelint.js scss/"
"lint:scss": "node node_modules/stylelint/bin/stylelint.mjs scss/"
},
"dependencies": {},
"devDependencies": {
@ -14,8 +14,8 @@
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"prettier": "^3.6.2",
"stylelint": "^14.16.1",
"stylelint-config-standard-scss": "^6.1.0"
"stylelint": "^15.11.0",
"stylelint-config-standard-scss": "^11.1.0"
},
"type": "module",
"prettier": {
@ -177,7 +177,6 @@
"scss/at-function-pattern": "^[a-z-]+$",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-mixin-argumentless-call-parentheses": "never",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-mixin-pattern": "^[a-z-]+$",
@ -212,6 +211,7 @@
}
],
"scss/double-slash-comment-whitespace-inside": "always",
"scss/load-no-partial-leading-underscore": true,
"scss/operator-no-newline-after": true,
"scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": true,

4
tildes/scss/modules/_comment.scss

@ -286,8 +286,8 @@
// Makes it so that comments of the specified depth or greater will not indent
// their replies when they only have one reply *and* they're also the only reply to
// their parent (this avoids confusion between subtrees and siblings).
// When indenting is avoided, it adds text at the top of the next comment (the single
// reply) indicating that it's a direct reply to the above comment.
// When indenting is avoided, it adds text at the top of the next comment (the
// single reply) indicating that it's a direct reply to the above comment.
// We actually need the selector to check 2 levels up from the specified starting
// depth because of how we're utilizing nesting.

3
tildes/scss/modules/_theme-preview.scss

@ -17,7 +17,8 @@
}
.theme-preview-fake-posts {
// Disables all click events (and hover) on the fake posts so links/buttons don't work
// Disables all click events (and hover) on the fake posts
// so links/buttons don't work
pointer-events: none;
// Set a max width on the fake topics so the vote button isn't way off to the right

1
tildes/scss/themes/_atom_one_dark.scss

@ -1,4 +1,5 @@
// Colours from Atom One Dark Syntax
// stylelint-disable-line max-line-length
// https://github.com/atom/atom/blob/master/packages/one-dark-syntax/styles/colors.less
// Base colors

Loading…
Cancel
Save