MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / processenforceall

Function processenforceall

lib/web/jshint.js:19122–19136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.

Callers 1

applyOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected