Skip to content
Snippets Groups Projects
Unverified Commit 7f804659 authored by Thomas Rientjes's avatar Thomas Rientjes Committed by GitHub
Browse files

Merge pull request #168 from CapacitorSet/experimental

Add ESLint configuration files
parents 90c1374c 17f4c986
No related branches found
No related tags found
No related merge requests found
# Usage: `eslint --config .eslint.yml .`
extends: "eslint:recommended"
env:
browser: true
rules:
indent:
- error
- 4
no-undef: 1 # warn
no-unused-vars: 1
no-console: 1
\ No newline at end of file
/* eslint-env node */
/**
* Resource Audit Script
* Belongs to Decentraleyes.
......@@ -15,12 +16,11 @@
* Imports
*/
var fileSystem, crypto, http, path, sourceMappingURL;
var fileSystem, crypto, https, sourceMappingURL;
fileSystem = require('fs');
crypto = require('crypto');
https = require('https');
path = require('path');
sourceMappingURL = require('source-map-url');
......
......@@ -207,7 +207,7 @@ document.addEventListener('DOMContentLoaded', function () {
case 'ajax.microsoft.com':
cdnName = 'Microsoft Ajax CDN [Deprecated]';
break;
case 'cdnjs.cloudflare.com':
case 'cdnjs.cloudflare.com':
cdnName = 'CDNJS (Cloudflare)';
break;
case 'code.jquery.com':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment