forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade linters to ESLint with stricter code style (prebid#1111)
* Upgraded to ESLint with stricter code style, for both sources and tests * Updated some dependencies and the yarn.lock file
- Loading branch information
1 parent
ed24249
commit 0799a64
Showing
191 changed files
with
11,863 additions
and
12,885 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,42 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true | ||
}, | ||
"extends": "standard", | ||
"globals": { | ||
"$$PREBID_GLOBAL$$": false | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"comma-dangle": "off", | ||
"semi": "off", | ||
"space-before-function-paren": "off", | ||
|
||
// Exceptions below this line are temporary, so that eslint can be added into the CI process. | ||
// Violations of these styles should be fixed, and the exceptions removed over time. | ||
// | ||
// See Issue #1111. | ||
"brace-style": "off", | ||
"camelcase": "off", | ||
"eqeqeq": "off", | ||
"import/first": "off", | ||
"no-control-regex": "off", | ||
"no-mixed-operators": "off", | ||
"no-multiple-empty-lines": "off", | ||
"no-redeclare": "off", | ||
"no-return-assign": "off", | ||
"no-throw-literal": "off", | ||
"no-undef": "off", | ||
"no-unused-vars": "off", | ||
"no-use-before-define": "off", | ||
"no-useless-call": "off", | ||
"no-useless-escape": "off", | ||
"one-var": "off", | ||
"standard/no-callback-literal": "off", | ||
"standard/object-curly-even-spacing": "off", | ||
"valid-typeof": "off" | ||
} | ||
} |
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
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.