-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use eslint in daily tests (#3355)
Description --- - adds eslint to daily tests - fix a number of lints - fix broken git pull command Motivation and Context --- Small feedback loop for errors on daily tests will prevent constant fixing of "silly" mistakes How Has This Been Tested? --- eslint passes
- Loading branch information
Showing
9 changed files
with
4,821 additions
and
126 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,36 @@ | ||
{ | ||
"extends": ["eslint:recommended", "plugin:prettier/recommended"], | ||
"plugins": ["prettier", "@babel"], | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"node": true, | ||
"es2021": true | ||
}, | ||
"parser": "@babel/eslint-parser", // Tell ESLint that you want to use the @babel/eslint-parser. | ||
"parserOptions": { | ||
"ecmaVersion": 2021, | ||
"sourceType": "module", | ||
"allowImportExportEverywhere": false, | ||
"ecmaFeatures": { | ||
"globalReturn": false | ||
}, | ||
"requireConfigFile": false | ||
}, | ||
"rules": { | ||
"no-undef": "error", | ||
"no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_" | ||
} | ||
], | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"doubleQuote": true, | ||
"endOfLine": "auto" | ||
} | ||
] | ||
} | ||
} |
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.