• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

lenientjs

Atom integration for Lenient JS syntax
  • #coffee
  • #coffeescript
  • #indentation
  • #javascript
  • #js
xixixao
0.1.9 104
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom LenientJS

Atom package which enables Lenient syntax for JavaScript.

After installing this package, open a JS file and run Set Syntax: Lenient JS from command palette (Cmd+Shift+P on macOS), in case the syntax wasn't selected automatically.

When enabled, the code will be presented in Lenient syntax, but saved as pretty-printed standard JavaScript.

If you want to use Lenient syntax by default, open Atom config (on OS X from Atom menubar menu) and add 'source.js.lenient': ['js'] to customFileTypes, like this:

'*':
  core:
    customFileTypes:
      'source.js.lenient': [
        'js'
      ]

TODO: Support local Prettier settings TODO: Git integration shows changes between Lenient and underlying JS TOSO: Add Compat mode option TODO: Limit size of file for which Lenient kicks in TODO: Support file duplication/renaming

Development

See https://github.com/xixixao/lenientjs

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by