Sha256: eb742ef51120de46f2585d6be1ae5a061cc062e5a3fe6e84b0b690d65a1e03bb
Contents?: true
Size: 600 Bytes
Versions: 9
Compression:
Stored size: 600 Bytes
Contents
say_git "Install eslint" add_yarn_packages( "eslint", "eslint-config-prettier", "eslint-plugin-prettier", "prettier", "npm-run-all", "@types/eslint", dev: true ) add_package_json_scripts( "lint:js": "eslint 'app/{assets,components,frontend,javascript}/**/*.{cjs,js,jsx,ts,tsx}'", "fix:js": "npm run -- lint:js --fix", lint: "npm-run-all lint:**", fix: "npm-run-all fix:**" ) copy_file ".eslintrc.cjs" say_git "Add eslint to default rake task" copy_file "lib/tasks/eslint.rake" add_lint_task "eslint" say_git "Auto-correct any existing issues" run "yarn fix:js", capture: true
Version data entries
9 entries across 9 versions & 1 rubygems