Grunt plugin to automatically fix silly JavaScript lint errors by running fixmyjs. Version 0.3.0 (latest) wraps fixmyjs as a Grunt task to fix lint issues like missing semicolons, curly braces, variable naming conventions, and more. Works with Grunt >=0.4.x and Node >=0.8.0. Supports configuration via .jshintrc, dry-run mode, diff/patch output. No longer actively maintained; prefer modern tools like ESLint with --fix.
npm install grunt-fixmyjsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the plugin, configure fixmyjs task to read .jshintrc and fix all JS files in src/ outputting to fixed/.
Migrate to ESLint or Prettier for automated lint fixes.
Pin grunt to version 0.4.x or adapt plugin for Grunt 1.x.
Use a newer standalone fixmyjs version if needed, but prefer ESLint.
Set 'silent: true' to suppress output, or redirect stderr/stdout as needed.
Ensure grunt.loadNpmTasks('grunt-fixmyjs') is in Gruntfile and package is in devDependencies.Use grunt.initConfig with task 'fixmyjs' and run via grunt command.
Run 'npm install fixmyjs --save-dev' (or ensure it's listed in package.json).