-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a47f714
commit 7a87234
Showing
13 changed files
with
1,494 additions
and
2,748 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 |
---|---|---|
|
@@ -4,7 +4,7 @@ engines: | |
|
||
ratings: | ||
paths: | ||
- "src/**.js" | ||
- 'src/**.js' | ||
|
||
exclude_patterns: | ||
- "test/**" | ||
- 'test/**' |
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,9 +1,5 @@ | ||
extends: eslint-config-riot | ||
|
||
parserOptions: | ||
ecmaVersion: 9 | ||
sourceType: 'module' | ||
|
||
globals: | ||
sinon: true | ||
chai: true | ||
chai: true |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import prettierConfig from '@riotjs/prettier-config' | ||
export default prettierConfig |
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,11 +1,5 @@ | ||
#!/usr/bin/env node | ||
|
||
// Set options as a parameter, environment variable, or rc file. | ||
// eslint-disable-next-line no-global-assign | ||
require = require('esm')(module) // eslint-disable-line | ||
const createRiotAPI = require('./src/index.js') | ||
import createRiotAPI from './src/index.js' | ||
|
||
if (module.parent) { | ||
module.exports = createRiotAPI | ||
/* istanbul ignore next */ | ||
} else createRiotAPI.default() | ||
createRiotAPI() |
Oops, something went wrong.