| 19120 | } |
| 19121 | |
| 19122 | function processenforceall() { |
| 19123 | if (state.option.enforceall) { |
| 19124 | for (var enforceopt in options.bool.enforcing) { |
| 19125 | if (state.option[enforceopt] === undefined && |
| 19126 | !options.noenforceall[enforceopt]) { |
| 19127 | state.option[enforceopt] = true; |
| 19128 | } |
| 19129 | } |
| 19130 | for (var relaxopt in options.bool.relaxing) { |
| 19131 | if (state.option[relaxopt] === undefined) { |
| 19132 | state.option[relaxopt] = false; |
| 19133 | } |
| 19134 | } |
| 19135 | } |
| 19136 | } |
| 19137 | |
| 19138 | /** |
| 19139 | * Apply all linting options according to the status of the `state` object. |