-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from iambumblehead/lint-mjs-files
lint-fix .mjs files
- Loading branch information
Showing
4 changed files
with
15 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default function thedefaultfunction () { | ||
return 'not-mocked'; | ||
return 'not-mocked' | ||
} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
|
||
async function writeJSConfigFile (config, filePath) { | ||
const eslint = (await import('eslint')); | ||
const eslint = (await import('eslint')) | ||
|
||
return new eslint.ESLint({ | ||
baseConfig : config, | ||
fix : true, | ||
useEslintrc : false, | ||
baseConfig: config, | ||
fix: true, | ||
useEslintrc: false, | ||
filePath | ||
}); | ||
}; | ||
}) | ||
} | ||
|
||
export default writeJSConfigFile; | ||
export default writeJSConfigFile |