I'm using both the airbnb presets for JSCS and ESLint, and they disagree on this point about whether to use a single quote or double quote in jsx.
airbnb JSCS says it wants singles: <Hello text='world'/>
airbnb ESLint says it wants doubles: <Hello text="world"/>
They disagree on a few other points, and I can resolve all of them currently with the following.
I can fix it by doing this in my jscsConfig of package.json:
Maybe these should just be turned on by default in the airbnb preset for JSCS. Really curious how ya'll at airbnb writing code that is linted, and jscs'd with your own presets if they disagree.
I'm using both the airbnb presets for JSCS and ESLint, and they disagree on this point about whether to use a single quote or double quote in jsx.
airbnb JSCS says it wants singles:
<Hello text='world'/>
airbnb ESLint says it wants doubles:<Hello text="world"/>
They disagree on a few other points, and I can resolve all of them currently with the following. I can fix it by doing this in my jscsConfig of package.json:
Maybe these should just be turned on by default in the airbnb preset for JSCS. Really curious how ya'll at airbnb writing code that is linted, and jscs'd with your own presets if they disagree.