UNPKG

eslint-config-shiny

Version:

An eslint config that makes your code so clean and polished that it shines!

2 lines (1 loc) 1.06 kB
import r from"@microsoft/eslint-plugin-sdl";import e from"eslint-plugin-compat";import n from"eslint-plugin-no-unsanitized";import o from"globals";var t=["addEventListener","blur","close","closed","confirm","defaultStatus","defaultstatus","event","external","find","focus","frameElement","frames","history","innerHeight","innerWidth","length","location","locationbar","menubar","moveBy","moveTo","name","onblur","onerror","onfocus","onload","onresize","onunload","open","opener","opera","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","print","removeEventListener","resizeBy","resizeTo","screen","screenLeft","screenTop","screenX","screenY","scroll","scrollbars","scrollBy","scrollTo","scrollX","scrollY","self","status","statusbar","stop","toolbar","top"],f={apply:{sdl:r},extends:["base"],languageOptions:{globals:[o.browser,o.serviceworker]},name:"web",plugins:{compat:e,"no-unsanitized":n},rules:[e.configs["flat/recommended"],{"no-restricted-globals":[2,...t],"no-unsanitized/method":2,"no-unsanitized/property":2}]};export{f as config};