-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pipeline.yml * Delete .babelrc * Update dependencies * Move signUpload * Upgrade upload * Upgrade download * Rewire provider * Update docs * Upgrade build and linting rules, version bump * Migrate client * Migrate s3up-react * Lint client * Remove trash, expand pipeline for parallelism * Update pipeline.yml * Update pipeline.yml * Update deps * Update package.json * Update package.json * Publish react
- Loading branch information
Showing
37 changed files
with
11,922 additions
and
14,516 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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,69 @@ | ||
const prettierConfig = require('./.prettierrc'); | ||
|
||
module.exports = { | ||
extends: ['airbnb'], | ||
extends: ['airbnb-base', 'plugin:prettier/recommended'], | ||
rules: { | ||
'import/order': [ | ||
'error', | ||
{ | ||
groups: ['builtin', 'external', 'internal', 'unknown', 'parent', 'sibling', 'index', 'object', 'type'], | ||
pathGroups: [ | ||
{ | ||
pattern: '~/**', | ||
group: 'internal', | ||
}, | ||
{ | ||
pattern: '../**', | ||
group: 'parent', | ||
position: 'before', | ||
}, | ||
{ | ||
pattern: './**', | ||
group: 'sibling', | ||
position: 'after', | ||
}, | ||
], | ||
'newlines-between': 'never', | ||
pathGroupsExcludedImportTypes: ['builtin'], | ||
alphabetize: { | ||
order: 'asc', | ||
caseInsensitive: true, | ||
}, | ||
}, | ||
], | ||
'import/no-anonymous-default-export': 0, | ||
'import/no-import-module-exports': 0, | ||
'import/prefer-default-export': 0, | ||
'no-import-assign': 0, | ||
'no-underscore-dangle': 0, | ||
'prefer-regex-literals': 0, | ||
'class-methods-use-this': 0, | ||
'default-param-last': 0, | ||
'max-len': [ | ||
'error', | ||
prettierConfig.printWidth, | ||
2, | ||
{ | ||
ignoreUrls: true, | ||
ignoreComments: true, | ||
ignoreRegExpLiterals: true, | ||
ignoreStrings: true, | ||
ignoreTemplateLiterals: true, | ||
}, | ||
], | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
alias: { | ||
map: [['~', './src']], | ||
extensions: ['.js', '.jsx', '.json'], | ||
}, | ||
}, | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
}, | ||
parser: 'babel-eslint', | ||
env: { | ||
node: true, | ||
browser: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pkg | ||
node_modules | ||
.DS_Store | ||
dist |
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,5 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
}; |
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,35 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/swcrc", | ||
"module": { | ||
"type": "commonjs" | ||
}, | ||
"jsc": { | ||
"parser": { | ||
"syntax": "ecmascript", | ||
"jsx": true, | ||
"dynamicImport": true, | ||
"privateMethod": false, | ||
"functionBind": false, | ||
"exportDefaultFrom": true, | ||
"exportNamespaceFrom": false, | ||
"decorators": false, | ||
"decoratorsBeforeExport": false, | ||
"topLevelAwait": false, | ||
"importMeta": false | ||
}, | ||
"target": "es2015", | ||
"loose": false, | ||
"externalHelpers": true, | ||
"keepClassNames": false, | ||
"transform": { | ||
"react": { | ||
"runtime": "automatic" | ||
} | ||
}, | ||
"paths": { | ||
"~/*": ["./*"] | ||
}, | ||
"baseUrl": "src" | ||
}, | ||
"minify": false | ||
} |
Oops, something went wrong.