eslint allows formats other than json, including .js if it exports as module. Unfortunately, the keys required by eslint include dashes like prefer-const below. Quoting is required. This appears to work.
But: Is there a workaround that allows the .js preferences to not require quotes? Prettier, for example, allows camel case for .prettierrc.js. That does not appear to work for eslint.
module.exports = {
env: {
browser: true,
es6: true
},
extends: "standard",
parserOptions: {
sourceType: "module"
},
rules: {
curly: [ 0 ],
"prefer-const": [ 2 ]
}
}