Sha256: 5b2cb8353dc6a8cb27fa0b885ace382d525da9a1db068d388b755f4a62c4adba
Contents?: true
Size: 644 Bytes
Versions: 2
Compression:
Stored size: 644 Bytes
Contents
say_git "Install stylelint" add_yarn_packages( "stylelint@^15", "stylelint-config-standard@^34", "stylelint-declaration-strict-value@^1", "stylelint-prettier@^4", "prettier", "npm-run-all", dev: true ) add_package_json_scripts( "lint:css": "stylelint 'app/{components,frontend,assets/stylesheets}/**/*.css'", "fix:css": "npm run -- lint:css --fix", lint: "npm-run-all lint:**", fix: "npm-run-all fix:**" ) copy_file ".stylelintrc.cjs" say_git "Add stylelint to default rake task" copy_file "lib/tasks/stylelint.rake" add_lint_task "stylelint" say_git "Auto-correct any existing issues" run "yarn fix:css", capture: true
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nextgen-0.7.0 | lib/nextgen/generators/stylelint.rb |
nextgen-0.6.0 | lib/nextgen/generators/stylelint.rb |