Skip to content

Commit 0916942

Browse files
Update front-end linting dependencies
After the `v4.0.0` release of [@thoughtbot/stylelint-config][], the errors mentioned in [this issue][] no longer appear. This alleviates us from having to pin these dependencies. [@thoughtbot/stylelint-config]: https://github.com/thoughtbot/stylelint-config/releases/tag/v4.0.0 [this issue]: thoughtbot/stylelint-config#46
1 parent fc8793d commit 0916942

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/generators/suspenders/lint_generator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class LintGenerator < Rails::Generators::Base
77
desc "Creates a holistic linting solution that covers JavaScript, CSS, Ruby and ERB."
88

99
def install_dependencies
10-
run "yarn add stylelint@^15.10.1 eslint @thoughtbot/stylelint-config@3.0.0 @thoughtbot/eslint-config npm-run-all prettier --dev"
10+
run "yarn add stylelint eslint @thoughtbot/stylelint-config @thoughtbot/eslint-config npm-run-all prettier --dev"
1111
end
1212

1313
def install_gems

test/generators/suspenders/lint_generator_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class LintGeneratorTest < Rails::Generators::TestCase
1515
capture(:stderr) do
1616
output = run_generator
1717

18-
assert_match(/yarn add stylelint@\^15\.10\.1 eslint @thoughtbot\/stylelint-config@3\.0\.0 @thoughtbot\/eslint-config npm-run-all prettier --dev/, output)
18+
assert_match(/yarn add stylelint eslint @thoughtbot\/stylelint-config @thoughtbot\/eslint-config npm-run-all prettier --dev/, output)
1919
end
2020
end
2121

0 commit comments

Comments
 (0)