nire0510
6/21/2015 - 12:33 PM

Extracts all jscs settings to your clipboard

Extracts all jscs settings to your clipboard

  1. Open JSCS - Rules page
  2. Open your browser's console and run the following script:
var objSettings = {};

[].forEach.call(document.querySelectorAll('.rule-list__item a'), function (element) {
  objSettings[element.text] = true;
});

copy(obj);
  1. DONE. All settings are copied to your clipboard with default value true.