Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xixixao/atom-lenientjs
Atom package for enabling Lenient syntax for JavaScript
https://github.com/xixixao/atom-lenientjs
Last synced: 8 days ago
JSON representation
Atom package for enabling Lenient syntax for JavaScript
- Host: GitHub
- URL: https://github.com/xixixao/atom-lenientjs
- Owner: xixixao
- Created: 2018-04-27T05:36:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-25T17:24:39.000Z (about 6 years ago)
- Last Synced: 2024-11-14T20:47:52.584Z (2 months ago)
- Language: JavaScript
- Size: 574 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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'
]
```## Known Issues
- No Support for local Prettier settings
- Git integration shows changes between Lenient and underlying JS
- No compat mode option
- No size limit of file for which Lenient kicks in## Development
See https://github.com/xixixao/lenientjs