From 7696d9e5cd9f403328f82bbd72ab157357bd8437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 28 Feb 2025 11:43:27 +0100 Subject: [PATCH] Use pronto.yml to configure pronto-stylelint This is necessary since pronto-stylelint 0.11.0, which we started using in commit 2768263fa. We were getting an error when runnin Pronto in pull requests that changed CSS code: ``` bundler: failed to load command: pronto (~/.rbenv/versions/3.2.7/bin/pronto) ~/.rbenv/versions/3.2.7/lib/ruby/3.2.0/open3.rb:222:in `spawn': No such file or directory - stylelint (Errno::ENOENT) ``` --- .pronto.yml | 2 ++ .pronto_stylelint.yml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 .pronto_stylelint.yml diff --git a/.pronto.yml b/.pronto.yml index 07cc95343..ac272a70e 100644 --- a/.pronto.yml +++ b/.pronto.yml @@ -2,3 +2,5 @@ rubocop: suggestions: true severities: refactor: info +stylelint: + stylelint_executable: "npx stylelint" diff --git a/.pronto_stylelint.yml b/.pronto_stylelint.yml deleted file mode 100644 index d259d0d75..000000000 --- a/.pronto_stylelint.yml +++ /dev/null @@ -1 +0,0 @@ -stylelint_executable: "npx stylelint"