JavaScript/JXA Editing and the Atom Editor

Go to Atom Preferences (aka Config)

Click the button that says “Open Config Folder”

In the tree view, go to packages/linter-jshint/lib and open main.js.

Right under “activate()” modify this line:

this.scopes = ['source.js', 'source.js-semantic']

to

this.scopes = ['source.js', 'source.js-semantic', 'source.js.jxa']

Save it. You may need to restart Atom.