From c88c8f65e41ddb816056aa424ad24deb26fc7ff1 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sat, 26 Apr 2025 13:08:13 +0200 Subject: [PATCH 1/2] Update dependencies --- package.json | 6 +++--- test/action_view/cases/helper.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e7b1d90c..bb37d286 100644 --- a/package.json +++ b/package.json @@ -27,11 +27,11 @@ "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-node-resolve": "^16.0.1", "chrome-launcher": "^1.1.2", - "eslint": "^9.23.0", + "eslint": "^9.25.1", "eslint-plugin-compat": "^6.0.2", "neostandard": "^0.12.1", - "puppeteer-core": "^24.4.0", - "rollup": "^4.36.0", + "puppeteer-core": "^24.7.2", + "rollup": "^4.40.0", "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { diff --git a/test/action_view/cases/helper.rb b/test/action_view/cases/helper.rb index e7158972..d18f2f58 100644 --- a/test/action_view/cases/helper.rb +++ b/test/action_view/cases/helper.rb @@ -192,7 +192,7 @@ def whole_form_for(action = 'http://www.example.com', id = nil, html_class = nil method = options end - form_for_text(action, id, html_class, remote, (validators || no_validate), file) << snowman(method) << (contents || '') << '' + form_for_text(action, id, html_class, remote, validators || no_validate, file) << snowman(method) << (contents || '') << '' end def form_with_text(action = 'http://www.example.com', id = nil, html_class = nil, local = nil, validators = nil, file = nil) @@ -221,7 +221,7 @@ def whole_form_with(action = 'http://www.example.com', options = nil) method = options end - form_with_text(action, id, html_class, local, (validators || no_validate), file) << snowman(method) << (contents || '') << '' + form_with_text(action, id, html_class, local, validators || no_validate, file) << snowman(method) << (contents || '') << '' end def client_side_form_settings_helper From 883c00c3fa1243371c3249d8e3b52a443decb17a Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Sat, 26 Apr 2025 13:09:55 +0200 Subject: [PATCH 2/2] Set linguist-generated files Should improve code stats --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..c69f74e2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +dist/** linguist-generated