-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine code using eslint + adding travis.
Refine code using eslint Add eslint and travis * streamline code for `for` statements * apply no-var * fixes for eslint * refine more for and if * revert `externalAppRuleParser` changes per review * modify per review * No "for..of" in "core-chrome-proxy.js" and "core-firefox-proxy.js" per review
- Loading branch information
Showing
14 changed files
with
397 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.min.js | ||
jsgrid.bootstrap.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"webextensions": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"globals": { | ||
"$": false, | ||
"browser": true, | ||
"debug": false, | ||
"environment": false, | ||
"jQuery": false, | ||
"jsGrid": false, | ||
"localizeHtmlPage": false, | ||
"messageBox": false, | ||
"Noty": false, | ||
"proxyImporter": false, | ||
"proxyModeType": false, | ||
"polyfill": false, | ||
"ruleImporter": false, | ||
"utils": false | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 6 | ||
}, | ||
"rules": { | ||
"no-console": 1, | ||
"no-undef": 1, | ||
"no-unused-vars": 1, | ||
"no-extra-semi": 1, | ||
"no-useless-escape": 1, | ||
"no-var": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: node_js | ||
node_js: stable | ||
sudo: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "SmartProxy", | ||
"description": "SmartProxy is a Firefox/Chrome extension based on WebExtensions/Chrome Extensions.", | ||
"devDependencies": { | ||
"eslint": "^4.7.0" | ||
}, | ||
"scripts": { | ||
"lint": "eslint ./src", | ||
"test": "npm run lint" | ||
}, | ||
"license": "GPL-3.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.