-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump: npm dependency * upgrade all npm dependency * migrate aws-sdk to v3 * update firebase depericated sdk * migrate eslint rules * migrate husky * update gitpod configurations * fixup
- Loading branch information
Showing
74 changed files
with
3,940 additions
and
4,490 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run lint |
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,61 @@ | ||
const babelParser = require('@babel/eslint-parser'); | ||
const eslintPluginPrettier = require('eslint-plugin-prettier'); | ||
const eslintPluginNode = require('eslint-plugin-node'); | ||
const eslintConfigPrettier = require('eslint-config-prettier'); | ||
const eslintStylisticJs = require('@stylistic/eslint-plugin-js'); | ||
|
||
module.exports = [ | ||
{ | ||
ignores: ['node_modules/**'], | ||
}, | ||
{ | ||
languageOptions: { | ||
parser: babelParser, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
globals: { | ||
process: 'readonly', | ||
__dirname: 'readonly', | ||
module: 'readonly', | ||
require: 'readonly', | ||
}, | ||
parserOptions: { | ||
requireConfigFile: false, | ||
}, | ||
}, | ||
plugins: { | ||
prettier: eslintPluginPrettier, | ||
node: eslintPluginNode, | ||
'@stylistic/js': eslintStylisticJs, | ||
}, | ||
rules: { | ||
'prettier/prettier': 'error', | ||
'no-console': 'warn', | ||
'consistent-return': 'off', | ||
'no-process-exit': 'off', | ||
'no-param-reassign': 'off', | ||
'no-return-await': 'off', | ||
'no-underscore-dangle': 'off', | ||
'prefer-destructuring': [ | ||
'error', | ||
{ | ||
object: true, | ||
array: false, | ||
}, | ||
], | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
ignoreRestSiblings: true, | ||
argsIgnorePattern: '^_', | ||
}, | ||
], | ||
}, | ||
settings: { | ||
node: { | ||
tryExtensions: ['.js', '.json', '.node'], | ||
}, | ||
}, | ||
}, | ||
eslintConfigPrettier, | ||
]; |
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
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
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.