javascript.instructions.md 512 B


applyTo: "*/.js"

description: Editing JavaScript files

JavaScript files

  • Obey formatting rules defined in eslint.config.js
  • Automatic fixes can be done with:

    npm run eslint_fix
    # or (targeting more than just JavaScript)
    make fix-all
    
  • Validation can be done with:

    npm run eslint
    # or (targeting more than just JavaScript)
    make test-all
    
  • Check package.json scripts for details about available individual commands.