brenolf / polyjuice

A utility to convert JSHint and JSCS files into ESLint files and vice-versa
MIT License
275 stars 15 forks source link

eslint to jscs conversion: valid-jsdoc: 0, converts to true #27

Closed brendanvinson closed 8 years ago

brendanvinson commented 8 years ago

When converting from eslint to jscs, valid-jsdoc: 0 converts to jsDoc: true. The issue is that jscs wants the jsDoc option to be an object.

After looking through the eslint rules for this, I think the defaults should be something like:

"jsDoc": {
      "requireReturnTypes": true,
      "requireReturnDescription": true,
      "requireParamDescription": true
  },