Mercurial > hg
comparison .jshintrc @ 42676:b9a200477edf
byteify-strings: add support for ignore comments
Our simple token analysis is sometimes not clever enough, we need to be able
to turn off our script for parts of the code.
This change introduces three special comments:
- `#no-py3-transform` to tell `byteify-strings` ignore the next line
- `#py3-transform: off` to ignore everything until the end of the file
- `#py3-transform: on` to stop ignoring
The last two can be particularly useful within Python 2/3 compatibility files.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Fri, 02 Aug 2019 09:55:32 +0200 |
parents | bdd2e18b54c5 |
children |
comparison
equal
deleted
inserted
replaced
42675:e9592e113c31 | 42676:b9a200477edf |
---|