You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
The auto-configure feature (#797) is a great idea. It would be useful if the exception option allowed for choosing an alternate value instead of just setting the rule to null. Even better would be if the number of errors for each possible alternate value were shown.
I have code for generating a .jscsrc file by automatically choosing the rule value that produces the lowest error count. It doesn't have any command line options yet. Would there be interest in integrating something like this as a built-in option for JSCS?
The text was updated successfully, but these errors were encountered:
It would be useful if the exception option allowed for choosing an alternate value instead of just setting the rule to null.
I'm not seeing the benefit to allowing users to supply custom values in the autoconfig prompt. It's the same as replacing null with another value in the generated jscsrc. The goal of autoconfig, was to get the user up and running as quickly as possible. We also envision replacing the "fix it yourself" with "fix it automatically" so that you wouldn't have to worry about configuration.
Even better would be if the number of errors for each possible alternate value were shown.
This heavily depends on #480 to avoid having to modify rules and the autoconfigure code.
I have code for generating a .jscsrc file by automatically choosing the rule value that produces the lowest error count.
Great work here. Along with my previous comment, the route you've experimented with relies on us hardcoding the rule values in both the rule definition and the autoconfigure code.
Would there be interest in integrating something like this as a built-in option for JSCS?
Definitely, so long as it read the rule values from the rule's definition.
mrjoelkemp
changed the title
Auto-configure
Possible Auto-configure enhancements?
Mar 16, 2015
Hello,
The auto-configure feature (#797) is a great idea. It would be useful if the
exception
option allowed for choosing an alternate value instead of just setting the rule tonull
. Even better would be if the number of errors for each possible alternate value were shown.I have code for generating a .jscsrc file by automatically choosing the rule value that produces the lowest error count. It doesn't have any command line options yet. Would there be interest in integrating something like this as a built-in option for JSCS?
The text was updated successfully, but these errors were encountered: