Skip to content

Commit

Permalink
Fix slim-lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
binos30 committed Jul 30, 2024
1 parent 02510ae commit 5a732dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"rubocop": "bin/rubocop",
"rubocop-fix": "bin/rubocop -a",
"rubocop-ci": "bin/rubocop -f github",
"slim-lint": "slim-lint 'app/views/**/*.slim'",
"slim-lint": "bin/bundle exec slim-lint 'app/views/**/*.slim'",
"stree-fix": "bin/bundle exec stree write '**/*.rb'",
"stree": "bin/bundle exec stree check '**/*.rb'",
"postinstall": "husky"
Expand All @@ -75,7 +75,7 @@
"./bin/rubocop -a"
],
"spec/**/*_spec.rb": "./bin/rspec",
"app/views/**/*.slim": "slim-lint",
"app/views/**/*.slim": "./bin/bundle exec slim-lint",
"**/*.{css,html,js,json,md,mjs,yml}": "./node_modules/.bin/prettier --write --cache --cache-location .cache/prettier",
"**/*.{cjs,js,mjs}": "./node_modules/.bin/eslint --cache --cache-location .cache/eslint --fix --report-unused-disable-directives"
},
Expand Down

0 comments on commit 5a732dd

Please sign in to comment.