From 6d317ed87a477c121f857abc6b0724580ca096b4 Mon Sep 17 00:00:00 2001 From: Template Bot Date: Thu, 19 Feb 2026 00:57:44 +0000 Subject: [PATCH] Apply template update: switch to recess, set import-notation lint Source: https://github.com/mockdeep/Rails-Template/pull/1355 --- .stylelint_todo.yml | 11 ++++++++--- app/assets/stylesheets/application.css | 2 +- app/assets/stylesheets/custom.css | 10 +++++----- stylelint.config.mjs | 5 +---- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.stylelint_todo.yml b/.stylelint_todo.yml index 226eafec6..e6959f1fd 100644 --- a/.stylelint_todo.yml +++ b/.stylelint_todo.yml @@ -1,5 +1,5 @@ # This configuration was generated by `exe/stylelint_autogen` -# on 2026-02-14 01:44:58 UTC. +# on 2026-02-19 04:45:04 UTC. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. @@ -30,7 +30,7 @@ overrides: files: - app/assets/stylesheets/application.css - # Offense count: 1 + # Offense count: 3 - rules: { 'font-family-name-quotes': null } files: - app/assets/stylesheets/application.css @@ -45,7 +45,12 @@ overrides: files: - app/assets/stylesheets/application.css - # Offense count: 64 + # Offense count: 21 + - rules: { 'no-descending-specificity': null } + files: + - app/assets/stylesheets/application.css + + # Offense count: 68 - rules: { 'order/properties-order': null } files: - app/assets/stylesheets/application.css diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 2fe1bf2d6..0939a389c 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1,4 +1,4 @@ -@import url("./custom.css"); +@import "./custom.css"; html, body { height: 100%; diff --git a/app/assets/stylesheets/custom.css b/app/assets/stylesheets/custom.css index 731ea32ef..03b222d39 100644 --- a/app/assets/stylesheets/custom.css +++ b/app/assets/stylesheets/custom.css @@ -1,6 +1,6 @@ /* custom CSS goes here */ -@import url("bootstrap/dist/css/bootstrap.min.css"); -@import url("font-awesome/css/font-awesome.min.css"); -@import url("@fontsource/lato/latin.css"); -@import url("@fontsource/lato/latin-400-italic.css"); -@import url("@fontsource/reenie-beanie/latin.css"); +@import "bootstrap/dist/css/bootstrap.min.css"; +@import "font-awesome/css/font-awesome.min.css"; +@import "@fontsource/lato/latin.css"; +@import "@fontsource/lato/latin-400-italic.css"; +@import "@fontsource/reenie-beanie/latin.css"; diff --git a/stylelint.config.mjs b/stylelint.config.mjs index e1a64872c..3c5d98efb 100644 --- a/stylelint.config.mjs +++ b/stylelint.config.mjs @@ -14,9 +14,6 @@ export default { ], plugins: ["stylelint-selector-bem-pattern"], rules: { - "no-descending-specificity": null, - "plugin/selector-bem-pattern": { - preset: "bem", - }, + "import-notation": "string", }, };