Skip to content

Instantly share code, notes, and snippets.

@SimenB
Created June 5, 2016 10:28
Show Gist options
  • Save SimenB/6291c9b33b990e8911741fb8ae9d82af to your computer and use it in GitHub Desktop.
Save SimenB/6291c9b33b990e8911741fb8ae9d82af to your computer and use it in GitHub Desktop.
{
"globals": {
"__dirname": false,
"__filename": false,
"arguments": false,
"Buffer": false,
"clearImmediate": false,
"clearInterval": false,
"clearTimeout": false,
"console": false,
"exports": true,
"GLOBAL": false,
"global": false,
"Intl": false,
"module": false,
"process": false,
"require": false,
"root": false,
"setImmediate": false,
"setInterval": false,
"setTimeout": false,
"addEventListener": false,
"alert": false,
"AnalyserNode": false,
"Animation": false,
"AnimationEffectReadOnly": false,
"AnimationEffectTiming": false,
"AnimationEffectTimingReadOnly": false,
"AnimationEvent": false,
"AnimationPlaybackEvent": false,
"AnimationTimeline": false,
"applicationCache": false,
"ApplicationCache": false,
"ApplicationCacheErrorEvent": false,
"atob": false,
"Attr": false,
"Audio": false,
"AudioBuffer": false,
"AudioBufferSourceNode": false,
"AudioContext": false,
"AudioDestinationNode": false,
"AudioListener": false,
"AudioNode": false,
"AudioParam": false,
"AudioProcessingEvent": false,
"AutocompleteErrorEvent": false,
"BarProp": false,
"BatteryManager": false,
"BeforeUnloadEvent": false,
"BiquadFilterNode": false,
"Blob": false,
"blur": false,
"btoa": false,
"Cache": false,
"caches": false,
"CacheStorage": false,
"cancelAnimationFrame": false,
"CanvasGradient": false,
"CanvasPattern": false,
"CanvasRenderingContext2D": false,
"CDATASection": false,
"ChannelMergerNode": false,
"ChannelSplitterNode": false,
"CharacterData": false,
"clientInformation": false,
"ClientRect": false,
"ClientRectList": false,
"ClipboardEvent": false,
"close": false,
"closed": false,
"CloseEvent": false,
"Comment": false,
"CompositionEvent": false,
"confirm": false,
"ConvolverNode": false,
"crypto": false,
"Crypto": false,
"CryptoKey": false,
"CSS": false,
"CSSAnimation": false,
"CSSFontFaceRule": false,
"CSSImportRule": false,
"CSSKeyframeRule": false,
"CSSKeyframesRule": false,
"CSSMediaRule": false,
"CSSPageRule": false,
"CSSRule": false,
"CSSRuleList": false,
"CSSStyleDeclaration": false,
"CSSStyleRule": false,
"CSSStyleSheet": false,
"CSSSupportsRule": false,
"CSSTransition": false,
"CSSUnknownRule": false,
"CSSViewportRule": false,
"CustomEvent": false,
"DataTransfer": false,
"DataTransferItem": false,
"DataTransferItemList": false,
"Debug": false,
"defaultStatus": false,
"defaultstatus": false,
"DelayNode": false,
"DeviceMotionEvent": false,
"DeviceOrientationEvent": false,
"devicePixelRatio": false,
"dispatchEvent": false,
"document": false,
"Document": false,
"DocumentFragment": false,
"DocumentTimeline": false,
"DocumentType": false,
"DOMError": false,
"DOMException": false,
"DOMImplementation": false,
"DOMParser": false,
"DOMSettableTokenList": false,
"DOMStringList": false,
"DOMStringMap": false,
"DOMTokenList": false,
"DragEvent": false,
"DynamicsCompressorNode": false,
"Element": false,
"ElementTimeControl": false,
"ErrorEvent": false,
"event": false,
"Event": false,
"EventSource": false,
"EventTarget": false,
"external": false,
"fetch": false,
"File": false,
"FileError": false,
"FileList": false,
"FileReader": false,
"find": false,
"focus": false,
"FocusEvent": false,
"FontFace": false,
"FormData": false,
"frameElement": false,
"frames": false,
"GainNode": false,
"Gamepad": false,
"GamepadButton": false,
"GamepadEvent": false,
"getComputedStyle": false,
"getSelection": false,
"HashChangeEvent": false,
"Headers": false,
"history": false,
"History": false,
"HTMLAllCollection": false,
"HTMLAnchorElement": false,
"HTMLAppletElement": false,
"HTMLAreaElement": false,
"HTMLAudioElement": false,
"HTMLBaseElement": false,
"HTMLBlockquoteElement": false,
"HTMLBodyElement": false,
"HTMLBRElement": false,
"HTMLButtonElement": false,
"HTMLCanvasElement": false,
"HTMLCollection": false,
"HTMLContentElement": false,
"HTMLDataListElement": false,
"HTMLDetailsElement": false,
"HTMLDialogElement": false,
"HTMLDirectoryElement": false,
"HTMLDivElement": false,
"HTMLDListElement": false,
"HTMLDocument": false,
"HTMLElement": false,
"HTMLEmbedElement": false,
"HTMLFieldSetElement": false,
"HTMLFontElement": false,
"HTMLFormControlsCollection": false,
"HTMLFormElement": false,
"HTMLFrameElement": false,
"HTMLFrameSetElement": false,
"HTMLHeadElement": false,
"HTMLHeadingElement": false,
"HTMLHRElement": false,
"HTMLHtmlElement": false,
"HTMLIFrameElement": false,
"HTMLImageElement": false,
"HTMLInputElement": false,
"HTMLIsIndexElement": false,
"HTMLKeygenElement": false,
"HTMLLabelElement": false,
"HTMLLayerElement": false,
"HTMLLegendElement": false,
"HTMLLIElement": false,
"HTMLLinkElement": false,
"HTMLMapElement": false,
"HTMLMarqueeElement": false,
"HTMLMediaElement": false,
"HTMLMenuElement": false,
"HTMLMetaElement": false,
"HTMLMeterElement": false,
"HTMLModElement": false,
"HTMLObjectElement": false,
"HTMLOListElement": false,
"HTMLOptGroupElement": false,
"HTMLOptionElement": false,
"HTMLOptionsCollection": false,
"HTMLOutputElement": false,
"HTMLParagraphElement": false,
"HTMLParamElement": false,
"HTMLPictureElement": false,
"HTMLPreElement": false,
"HTMLProgressElement": false,
"HTMLQuoteElement": false,
"HTMLScriptElement": false,
"HTMLSelectElement": false,
"HTMLShadowElement": false,
"HTMLSourceElement": false,
"HTMLSpanElement": false,
"HTMLStyleElement": false,
"HTMLTableCaptionElement": false,
"HTMLTableCellElement": false,
"HTMLTableColElement": false,
"HTMLTableElement": false,
"HTMLTableRowElement": false,
"HTMLTableSectionElement": false,
"HTMLTemplateElement": false,
"HTMLTextAreaElement": false,
"HTMLTitleElement": false,
"HTMLTrackElement": false,
"HTMLUListElement": false,
"HTMLUnknownElement": false,
"HTMLVideoElement": false,
"IDBCursor": false,
"IDBCursorWithValue": false,
"IDBDatabase": false,
"IDBEnvironment": false,
"IDBFactory": false,
"IDBIndex": false,
"IDBKeyRange": false,
"IDBObjectStore": false,
"IDBOpenDBRequest": false,
"IDBRequest": false,
"IDBTransaction": false,
"IDBVersionChangeEvent": false,
"Image": false,
"ImageBitmap": false,
"ImageData": false,
"indexedDB": false,
"innerHeight": false,
"innerWidth": false,
"InputEvent": false,
"InputMethodContext": false,
"IntersectionObserver": false,
"IntersectionObserverEntry": false,
"KeyboardEvent": false,
"KeyframeEffect": false,
"KeyframeEffectReadOnly": false,
"length": false,
"localStorage": false,
"location": false,
"Location": false,
"locationbar": false,
"matchMedia": false,
"MediaElementAudioSourceNode": false,
"MediaEncryptedEvent": false,
"MediaError": false,
"MediaKeyError": false,
"MediaKeyEvent": false,
"MediaKeyMessageEvent": false,
"MediaKeys": false,
"MediaKeySession": false,
"MediaKeyStatusMap": false,
"MediaKeySystemAccess": false,
"MediaList": false,
"MediaQueryList": false,
"MediaQueryListEvent": false,
"MediaSource": false,
"MediaStream": false,
"MediaStreamAudioDestinationNode": false,
"MediaStreamAudioSourceNode": false,
"MediaStreamEvent": false,
"MediaStreamTrack": false,
"menubar": false,
"MessageChannel": false,
"MessageEvent": false,
"MessagePort": false,
"MIDIAccess": false,
"MIDIConnectionEvent": false,
"MIDIInput": false,
"MIDIInputMap": false,
"MIDIMessageEvent": false,
"MIDIOutput": false,
"MIDIOutputMap": false,
"MIDIPort": false,
"MimeType": false,
"MimeTypeArray": false,
"MouseEvent": false,
"moveBy": false,
"moveTo": false,
"MutationEvent": false,
"MutationObserver": false,
"MutationRecord": false,
"name": false,
"NamedNodeMap": false,
"navigator": false,
"Navigator": false,
"Node": false,
"NodeFilter": false,
"NodeIterator": false,
"NodeList": false,
"Notification": false,
"OfflineAudioCompletionEvent": false,
"OfflineAudioContext": false,
"offscreenBuffering": false,
"onbeforeunload": true,
"onblur": true,
"onerror": true,
"onfocus": true,
"onload": true,
"onresize": true,
"onunload": true,
"open": false,
"openDatabase": false,
"opener": false,
"opera": false,
"Option": false,
"OscillatorNode": false,
"outerHeight": false,
"outerWidth": false,
"PageTransitionEvent": false,
"pageXOffset": false,
"pageYOffset": false,
"parent": false,
"Path2D": false,
"performance": false,
"Performance": false,
"PerformanceEntry": false,
"PerformanceMark": false,
"PerformanceMeasure": false,
"PerformanceNavigation": false,
"PerformanceResourceTiming": false,
"PerformanceTiming": false,
"PeriodicWave": false,
"Permissions": false,
"PermissionStatus": false,
"personalbar": false,
"Plugin": false,
"PluginArray": false,
"PopStateEvent": false,
"postMessage": false,
"print": false,
"ProcessingInstruction": false,
"ProgressEvent": false,
"prompt": false,
"PushManager": false,
"PushSubscription": false,
"RadioNodeList": false,
"Range": false,
"ReadableByteStream": false,
"ReadableStream": false,
"removeEventListener": false,
"Request": false,
"requestAnimationFrame": false,
"resizeBy": false,
"resizeTo": false,
"Response": false,
"RTCIceCandidate": false,
"RTCSessionDescription": false,
"RTCPeerConnection": false,
"screen": false,
"Screen": false,
"screenLeft": false,
"ScreenOrientation": false,
"screenTop": false,
"screenX": false,
"screenY": false,
"ScriptProcessorNode": false,
"scroll": false,
"scrollbars": false,
"scrollBy": false,
"scrollTo": false,
"scrollX": false,
"scrollY": false,
"SecurityPolicyViolationEvent": false,
"Selection": false,
"self": false,
"ServiceWorker": false,
"ServiceWorkerContainer": false,
"ServiceWorkerRegistration": false,
"sessionStorage": false,
"ShadowRoot": false,
"SharedKeyframeList": false,
"SharedWorker": false,
"showModalDialog": false,
"speechSynthesis": false,
"SpeechSynthesisEvent": false,
"SpeechSynthesisUtterance": false,
"status": false,
"statusbar": false,
"stop": false,
"Storage": false,
"StorageEvent": false,
"styleMedia": false,
"StyleSheet": false,
"StyleSheetList": false,
"SubtleCrypto": false,
"SVGAElement": false,
"SVGAltGlyphDefElement": false,
"SVGAltGlyphElement": false,
"SVGAltGlyphItemElement": false,
"SVGAngle": false,
"SVGAnimateColorElement": false,
"SVGAnimatedAngle": false,
"SVGAnimatedBoolean": false,
"SVGAnimatedEnumeration": false,
"SVGAnimatedInteger": false,
"SVGAnimatedLength": false,
"SVGAnimatedLengthList": false,
"SVGAnimatedNumber": false,
"SVGAnimatedNumberList": false,
"SVGAnimatedPathData": false,
"SVGAnimatedPoints": false,
"SVGAnimatedPreserveAspectRatio": false,
"SVGAnimatedRect": false,
"SVGAnimatedString": false,
"SVGAnimatedTransformList": false,
"SVGAnimateElement": false,
"SVGAnimateMotionElement": false,
"SVGAnimateTransformElement": false,
"SVGAnimationElement": false,
"SVGCircleElement": false,
"SVGClipPathElement": false,
"SVGColor": false,
"SVGColorProfileElement": false,
"SVGColorProfileRule": false,
"SVGComponentTransferFunctionElement": false,
"SVGCSSRule": false,
"SVGCursorElement": false,
"SVGDefsElement": false,
"SVGDescElement": false,
"SVGDiscardElement": false,
"SVGDocument": false,
"SVGElement": false,
"SVGElementInstance": false,
"SVGElementInstanceList": false,
"SVGEllipseElement": false,
"SVGEvent": false,
"SVGExternalResourcesRequired": false,
"SVGFEBlendElement": false,
"SVGFEColorMatrixElement": false,
"SVGFEComponentTransferElement": false,
"SVGFECompositeElement": false,
"SVGFEConvolveMatrixElement": false,
"SVGFEDiffuseLightingElement": false,
"SVGFEDisplacementMapElement": false,
"SVGFEDistantLightElement": false,
"SVGFEDropShadowElement": false,
"SVGFEFloodElement": false,
"SVGFEFuncAElement": false,
"SVGFEFuncBElement": false,
"SVGFEFuncGElement": false,
"SVGFEFuncRElement": false,
"SVGFEGaussianBlurElement": false,
"SVGFEImageElement": false,
"SVGFEMergeElement": false,
"SVGFEMergeNodeElement": false,
"SVGFEMorphologyElement": false,
"SVGFEOffsetElement": false,
"SVGFEPointLightElement": false,
"SVGFESpecularLightingElement": false,
"SVGFESpotLightElement": false,
"SVGFETileElement": false,
"SVGFETurbulenceElement": false,
"SVGFilterElement": false,
"SVGFilterPrimitiveStandardAttributes": false,
"SVGFitToViewBox": false,
"SVGFontElement": false,
"SVGFontFaceElement": false,
"SVGFontFaceFormatElement": false,
"SVGFontFaceNameElement": false,
"SVGFontFaceSrcElement": false,
"SVGFontFaceUriElement": false,
"SVGForeignObjectElement": false,
"SVGGElement": false,
"SVGGeometryElement": false,
"SVGGlyphElement": false,
"SVGGlyphRefElement": false,
"SVGGradientElement": false,
"SVGGraphicsElement": false,
"SVGHKernElement": false,
"SVGICCColor": false,
"SVGImageElement": false,
"SVGLangSpace": false,
"SVGLength": false,
"SVGLengthList": false,
"SVGLinearGradientElement": false,
"SVGLineElement": false,
"SVGLocatable": false,
"SVGMarkerElement": false,
"SVGMaskElement": false,
"SVGMatrix": false,
"SVGMetadataElement": false,
"SVGMissingGlyphElement": false,
"SVGMPathElement": false,
"SVGNumber": false,
"SVGNumberList": false,
"SVGPaint": false,
"SVGPathElement": false,
"SVGPathSeg": false,
"SVGPathSegArcAbs": false,
"SVGPathSegArcRel": false,
"SVGPathSegClosePath": false,
"SVGPathSegCurvetoCubicAbs": false,
"SVGPathSegCurvetoCubicRel": false,
"SVGPathSegCurvetoCubicSmoothAbs": false,
"SVGPathSegCurvetoCubicSmoothRel": false,
"SVGPathSegCurvetoQuadraticAbs": false,
"SVGPathSegCurvetoQuadraticRel": false,
"SVGPathSegCurvetoQuadraticSmoothAbs": false,
"SVGPathSegCurvetoQuadraticSmoothRel": false,
"SVGPathSegLinetoAbs": false,
"SVGPathSegLinetoHorizontalAbs": false,
"SVGPathSegLinetoHorizontalRel": false,
"SVGPathSegLinetoRel": false,
"SVGPathSegLinetoVerticalAbs": false,
"SVGPathSegLinetoVerticalRel": false,
"SVGPathSegList": false,
"SVGPathSegMovetoAbs": false,
"SVGPathSegMovetoRel": false,
"SVGPatternElement": false,
"SVGPoint": false,
"SVGPointList": false,
"SVGPolygonElement": false,
"SVGPolylineElement": false,
"SVGPreserveAspectRatio": false,
"SVGRadialGradientElement": false,
"SVGRect": false,
"SVGRectElement": false,
"SVGRenderingIntent": false,
"SVGScriptElement": false,
"SVGSetElement": false,
"SVGStopElement": false,
"SVGStringList": false,
"SVGStylable": false,
"SVGStyleElement": false,
"SVGSVGElement": false,
"SVGSwitchElement": false,
"SVGSymbolElement": false,
"SVGTests": false,
"SVGTextContentElement": false,
"SVGTextElement": false,
"SVGTextPathElement": false,
"SVGTextPositioningElement": false,
"SVGTitleElement": false,
"SVGTransform": false,
"SVGTransformable": false,
"SVGTransformList": false,
"SVGTRefElement": false,
"SVGTSpanElement": false,
"SVGUnitTypes": false,
"SVGURIReference": false,
"SVGUseElement": false,
"SVGViewElement": false,
"SVGViewSpec": false,
"SVGVKernElement": false,
"SVGZoomAndPan": false,
"SVGZoomEvent": false,
"Text": false,
"TextDecoder": false,
"TextEncoder": false,
"TextEvent": false,
"TextMetrics": false,
"TextTrack": false,
"TextTrackCue": false,
"TextTrackCueList": false,
"TextTrackList": false,
"TimeEvent": false,
"TimeRanges": false,
"toolbar": false,
"top": false,
"Touch": false,
"TouchEvent": false,
"TouchList": false,
"TrackEvent": false,
"TransitionEvent": false,
"TreeWalker": false,
"UIEvent": false,
"URL": false,
"URLSearchParams": false,
"ValidityState": false,
"VTTCue": false,
"WaveShaperNode": false,
"WebGLActiveInfo": false,
"WebGLBuffer": false,
"WebGLContextEvent": false,
"WebGLFramebuffer": false,
"WebGLProgram": false,
"WebGLRenderbuffer": false,
"WebGLRenderingContext": false,
"WebGLShader": false,
"WebGLShaderPrecisionFormat": false,
"WebGLTexture": false,
"WebGLUniformLocation": false,
"WebSocket": false,
"WheelEvent": false,
"window": false,
"Window": false,
"Worker": false,
"XDomainRequest": false,
"XMLDocument": false,
"XMLHttpRequest": false,
"XMLHttpRequestEventTarget": false,
"XMLHttpRequestProgressEvent": false,
"XMLHttpRequestUpload": false,
"XMLSerializer": false,
"XPathEvaluator": false,
"XPathException": false,
"XPathExpression": false,
"XPathNamespace": false,
"XPathNSResolver": false,
"XPathResult": false,
"XSLTProcessor": false,
"Array": false,
"ArrayBuffer": false,
"Boolean": false,
"constructor": false,
"DataView": false,
"Date": false,
"decodeURI": false,
"decodeURIComponent": false,
"encodeURI": false,
"encodeURIComponent": false,
"Error": false,
"escape": false,
"eval": false,
"EvalError": false,
"Float32Array": false,
"Float64Array": false,
"Function": false,
"hasOwnProperty": false,
"Infinity": false,
"Int16Array": false,
"Int32Array": false,
"Int8Array": false,
"isFinite": false,
"isNaN": false,
"isPrototypeOf": false,
"JSON": false,
"Map": false,
"Math": false,
"NaN": false,
"Number": false,
"Object": false,
"parseFloat": false,
"parseInt": false,
"Promise": false,
"propertyIsEnumerable": false,
"Proxy": false,
"RangeError": false,
"ReferenceError": false,
"Reflect": false,
"RegExp": false,
"Set": false,
"String": false,
"Symbol": false,
"SyntaxError": false,
"System": false,
"toLocaleString": false,
"toString": false,
"TypeError": false,
"Uint16Array": false,
"Uint32Array": false,
"Uint8Array": false,
"Uint8ClampedArray": false,
"undefined": false,
"unescape": false,
"URIError": false,
"valueOf": false,
"WeakMap": false,
"WeakSet": false
},
"env": {
"node": true,
"browser": true,
"amd": false,
"mocha": false,
"jasmine": false,
"es6": true
},
"rules": {
"accessor-pairs": 0,
"array-callback-return": 2,
"block-scoped-var": 2,
"complexity": [
0,
11
],
"consistent-return": 2,
"curly": [
2,
"multi-line"
],
"default-case": [
2,
{
"commentPattern": "^no default$"
}
],
"dot-notation": [
2,
{
"allowKeywords": true
}
],
"dot-location": 0,
"eqeqeq": [
2,
"allow-null"
],
"guard-for-in": 2,
"id-blacklist": 0,
"no-alert": 1,
"no-caller": 2,
"no-case-declarations": 2,
"no-div-regex": 0,
"no-else-return": 2,
"no-empty-function": [
2,
{
"allow": [
"arrowFunctions",
"functions",
"methods"
]
}
],
"no-empty-pattern": 2,
"no-extra-label": 2,
"no-eq-null": 0,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-implicit-coercion": 0,
"no-implied-eval": 2,
"no-invalid-this": 0,
"no-iterator": 2,
"no-labels": [
2,
{
"allowLoop": false,
"allowSwitch": false
}
],
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-magic-numbers": [
0,
{
"ignore": [],
"ignoreArrayIndexes": true,
"enforceConst": true,
"detectObjects": false
}
],
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-new": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-octal": 2,
"no-octal-escape": 2,
"no-param-reassign": [
2,
{
"props": true
}
],
"no-process-env": 0,
"no-proto": 2,
"no-redeclare": 2,
"no-restricted-syntax": [
2,
"DebuggerStatement",
"ForInStatement",
"LabeledStatement",
"WithStatement"
],
"no-return-assign": 2,
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-unmodified-loop-condition": 0,
"no-unsafe-finally": 2,
"no-unused-expressions": 2,
"no-unused-labels": 2,
"no-useless-call": 0,
"no-useless-concat": 2,
"no-useless-escape": 2,
"no-void": 0,
"no-warning-comments": [
0,
{
"terms": [
"todo",
"fixme",
"xxx"
],
"location": "start"
}
],
"no-with": 2,
"radix": 2,
"vars-on-top": 2,
"wrap-iife": [
2,
"outside"
],
"yoda": 2,
"no-cond-assign": [
2,
"always"
],
"no-console": 1,
"no-constant-condition": 1,
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-empty": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 0,
"no-extra-parens": [
0,
"all",
{
"conditionalAssign": true,
"nestedBinaryExpressions": false
}
],
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-unreachable": 2,
"use-isnan": 2,
"valid-jsdoc": 0,
"valid-typeof": 2,
"no-unexpected-multiline": 0,
"comma-dangle": [
2,
"always-multiline"
],
"max-depth": [
0,
4
],
"max-params": [
0,
3
],
"max-statements": [
0,
10
],
"no-bitwise": 0,
"no-plusplus": 0,
"callback-return": 0,
"global-require": 2,
"handle-callback-err": 0,
"no-mixed-requires": [
0,
false
],
"no-new-require": 0,
"no-path-concat": 0,
"no-process-exit": 0,
"no-restricted-modules": 0,
"no-sync": 0,
"import/no-unresolved": [
2,
{
"commonjs": true
}
],
"array-bracket-spacing": [
2,
"never"
],
"block-spacing": [
2,
"always"
],
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"camelcase": [
2,
{
"properties": "never"
}
],
"comma-spacing": [
2,
{
"before": false,
"after": true
}
],
"comma-style": [
2,
"last"
],
"computed-property-spacing": [
2,
"never"
],
"consistent-this": 0,
"eol-last": 2,
"func-names": 1,
"func-style": 0,
"id-length": 0,
"indent": [
2,
2,
{
"SwitchCase": 1,
"VariableDeclarator": 1
}
],
"jsx-quotes": 0,
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"keyword-spacing": [
2,
{
"before": true,
"after": true,
"overrides": {
"return": {
"after": true
},
"throw": {
"after": true
},
"case": {
"after": true
}
}
}
],
"lines-around-comment": 0,
"linebreak-style": 0,
"max-len": [
"error",
120
],
"max-nested-callbacks": 0,
"max-statements-per-line": [
0,
{
"max": 1
}
],
"new-cap": [
2,
{
"newIsCap": true
}
],
"new-parens": 0,
"newline-after-var": 0,
"newline-before-return": 0,
"newline-per-chained-call": [
2,
{
"ignoreChainWithDepth": 3
}
],
"no-array-constructor": 2,
"no-continue": 0,
"no-inline-comments": 0,
"no-lonely-if": 0,
"no-mixed-spaces-and-tabs": 2,
"no-multiple-empty-lines": [
2,
{
"max": 2,
"maxEOF": 1
}
],
"no-negated-condition": 0,
"no-nested-ternary": 2,
"no-new-object": 2,
"no-spaced-func": 2,
"no-ternary": 0,
"no-trailing-spaces": 2,
"no-underscore-dangle": [
2,
{
"allowAfterThis": false
}
],
"no-unneeded-ternary": [
2,
{
"defaultAssignment": false
}
],
"no-whitespace-before-property": 2,
"object-curly-spacing": [
2,
"always"
],
"one-var": [
2,
"never"
],
"one-var-declaration-per-line": [
2,
"always"
],
"operator-assignment": 0,
"operator-linebreak": 0,
"padded-blocks": [
2,
"never"
],
"quote-props": [
2,
"as-needed",
{
"keywords": false,
"unnecessary": true,
"numbers": false
}
],
"quotes": [
2,
"single",
"avoid-escape"
],
"id-match": 0,
"require-jsdoc": 0,
"semi-spacing": [
2,
{
"before": false,
"after": true
}
],
"semi": [
2,
"always"
],
"sort-vars": 0,
"space-before-blocks": 2,
"space-before-function-paren": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"space-in-parens": [
2,
"never"
],
"space-infix-ops": 2,
"space-unary-ops": 0,
"spaced-comment": [
2,
"always",
{
"exceptions": [
"-",
"+"
],
"markers": [
"=",
"!"
]
}
],
"wrap-regex": 0,
"init-declarations": 0,
"no-catch-shadow": 0,
"no-delete-var": 2,
"no-implicit-globals": 0,
"no-label-var": 0,
"no-self-assign": 2,
"no-shadow-restricted-names": 2,
"no-shadow": 2,
"no-undef-init": 0,
"no-undef": 2,
"no-undefined": 0,
"no-unused-vars": [
2,
{
"vars": "local",
"args": "after-used"
}
],
"no-use-before-define": 2,
"arrow-body-style": [
2,
"as-needed"
],
"arrow-parens": 0,
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
],
"constructor-super": 0,
"generator-star-spacing": 0,
"no-class-assign": 2,
"no-confusing-arrow": [
2,
{
"allowParens": true
}
],
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-duplicate-imports": 2,
"no-new-symbol": 2,
"no-restricted-globals": 0,
"no-restricted-imports": 0,
"no-this-before-super": 0,
"no-var": 2,
"no-useless-computed-key": 2,
"no-useless-constructor": 2,
"object-shorthand": [
2,
"always"
],
"prefer-arrow-callback": [
2,
{
"allowNamedFunctions": false,
"allowUnboundThis": true
}
],
"prefer-const": 2,
"prefer-spread": 0,
"prefer-reflect": 0,
"prefer-rest-params": 2,
"prefer-template": 2,
"require-yield": 0,
"sort-imports": 0,
"template-curly-spacing": 2,
"yield-star-spacing": [
2,
"after"
],
"import/export": 2,
"import/default": 0,
"import/extensions": [
0,
"never"
],
"import/named": 0,
"import/namespace": 0,
"import/no-extraneous-dependencies": [
0,
{
"devDependencies": false,
"optionalDependencies": false
}
],
"import/no-named-as-default": 0,
"import/no-commonjs": 0,
"import/no-amd": 2,
"import/imports-first": [
0,
"absolute-first"
],
"import/no-duplicates": 2,
"import/no-deprecated": 0,
"import/no-namespace": 0,
"import/no-named-as-default-member": 0,
"import/no-nodejs-modules": 0,
"import/order": [
0,
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
],
"newlines-between": "never"
}
],
"import/newline-after-import": 0,
"import/no-mutable-exports": 2,
"strict": 2
},
"parserOptions": {
"ecmaFeatures": {
"globalReturn": true,
"generators": false,
"objectLiteralDuplicateProperties": false
},
"ecmaVersion": 7,
"sourceType": "module"
},
"plugins": [
"import"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".json"
]
}
}
},
"extends": [
"airbnb-base",
"/Users/simen/Development/check-es3-syntax/node_modules/eslint-config-airbnb-base/rules/es6.js",
"/Users/simen/Development/check-es3-syntax/node_modules/eslint-config-airbnb-base/rules/legacy.js",
"/Users/simen/Development/check-es3-syntax/node_modules/eslint-config-airbnb-base/rules/node.js",
"/Users/simen/Development/check-es3-syntax/node_modules/eslint-config-airbnb-base/rules/style.js",
"/Users/simen/Development/check-es3-syntax/node_modules/eslint-config-airbnb-base/rules/variables.js"
],
"ecmaFeatures": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment