Skip to content

Commit 9e28e9d

Browse files
committed
don't use eslint for css
1 parent e2ee0c8 commit 9e28e9d

5 files changed

Lines changed: 6 additions & 73 deletions

File tree

eslint.config.js

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import js from "@eslint/js";
22
import globals from "globals";
33
import json from "@eslint/json";
4-
import css from "@eslint/css";
54
import { defineConfig } from "eslint/config";
65
import stylistic from "@stylistic/eslint-plugin";
76

@@ -104,31 +103,4 @@ export default defineConfig([
104103
language: "json/json",
105104
extends: ["json/recommended"],
106105
},
107-
{
108-
files: ["sources/**/*.css"],
109-
plugins: { css },
110-
language: "css/css",
111-
extends: ["css/recommended"],
112-
languageOptions: {
113-
tolerant: true,
114-
},
115-
rules: {
116-
/* allowUnknownVariables suppresses errors from variables defined in other files.
117-
Stylelint does proper checking for this kind of error with its `referenceFiles` feature. */
118-
"css/no-invalid-properties": ["error", { "allowUnknownVariables": true }],
119-
"css/use-baseline": ["warn", {
120-
"available": "widely",
121-
"allowProperties": [
122-
"backdrop-filter", // baseline 2024
123-
],
124-
"allowPropertyValues": {
125-
"background-attachment": ["fixed"], // only unavailable in iOS
126-
},
127-
"allowAtRules": [
128-
"starting-style", // baseline 2024
129-
],
130-
}],
131-
"css/no-important": "warn",
132-
},
133-
},
134106
]);

package-lock.json

Lines changed: 2 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "task-checklist",
3-
"version": "5.3",
3+
"version": "5.3.1",
44
"description": "A Warframe Task Checklist to track daily, weekly, and other tasks. Built with HTML, CSS, and vanilla JavaScript, processed with Vite.",
55
"type": "module",
66
"scripts": {
@@ -32,7 +32,6 @@
3232
},
3333
"homepage": "https://warframetools.com/Task-Checklist/",
3434
"devDependencies": {
35-
"@eslint/css": "^1.4.0",
3635
"@eslint/js": "^10.0.1",
3736
"@eslint/json": "^2.0.1",
3837
"@stylistic/eslint-plugin": "^5.10.0",

sources/css/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ body:not(.light-mode) img.icon-filter {
420420
font-size: 90%;
421421
color: color-mix(in hsl, var(--text-label) 50%, var(--text-secondary) 50%);
422422
margin-left: 0.5em;
423-
/* eslint-disable-next-line css/use-baseline -- (text-indent: hanging; baseline 2026) only relevant on very narrow screens for only a small effect */
424423
text-indent: calc(var(--current-cycle-svg-size) + var(--task-info-expander-svg-mr)) hanging;
425424
}
426425
.cycle-icon {
@@ -462,7 +461,7 @@ body:not(.light-mode) img.icon-filter {
462461
text-decoration: underline var(--menu-panel-border) 1px;
463462
text-underline-offset: 0.25em;
464463
}
465-
th::before, /* eslint-disable-line css/no-invalid-properties -- eslint bug workaround */
464+
th::before,
466465
th::after {
467466
content: "\00a0\00a0\00a0\00a0"; /* some no-break spaces added so the underline extends a bit on both sides */
468467
}
@@ -494,7 +493,7 @@ body:not(.light-mode) img.icon-filter {
494493

495494
/* More Info */
496495
#more-info {
497-
p:not(:last-child, :has(+ :is(ul, table))), /* eslint-disable-line css/no-invalid-properties -- eslint bug workaround */
496+
p:not(:last-child, :has(+ :is(ul, table))),
498497
table {
499498
margin-bottom: 1em;
500499
}

sources/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const dailyBackgroundImageIds = [
3434
"bg-image-4",
3535
// Add more IDs if you add more background image divs in HTML
3636
];
37-
export const APP_VERSION = "5.3";
37+
export const APP_VERSION = "5.3.1";
3838
const GIT_COMMIT_HASH_LONG = import.meta.env.VITE_GIT_COMMIT_HASH;
3939
const GIT_COMMIT_HASH = GIT_COMMIT_HASH_LONG.slice(0, 7);
4040
const WARFRAME_VERSION = "43.0.8";

0 commit comments

Comments
 (0)