Closed
Description
🐛 Bug Report
tslint-to-eslint-config
version: 0.2.5- ESLint version: 6.2.2
- Node version: 12.6
Actual Behavior
The tool generates a
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never",
},
],
rule which does not validate when Eslint is starting:
Configuration for rule "space-before-function-paren" is invalid:
Value {"anonymous":"never","asyncArrow":"always","constructor":"never","method":"never","named":"never"} should be equal to one of the allowed values.
Value {"anonymous":"never","asyncArrow":"always","constructor":"never","method":"never","named":"never"} should NOT have additional properties.
Value {"anonymous":"never","asyncArrow":"always","constructor":"never","method":"never","named":"never"} should match exactly one schema in oneOf.
Expected Behavior
The rule is correctly generated according to the spec. It seems method
and constructor
shouldn't be there.