Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ orbs:
ci: bigcommerce/internal@volatile
microapp: bigcommerce/internal-microapp@volatile

default_params: &default_params
context: Bintray Access

#####################################################
# Workflows
#####################################################
workflows:
version: 2
ci-checks:
full:
jobs:
- microapp/lint
- microapp/test
- microapp/build
- ci/validate-commits
- microapp/lint:
<<: *default_params
- microapp/test:
<<: *default_params
- microapp/build:
<<: *default_params

- microapp/upload-artifact:
context: Artifact Bucket Access
requires:
- microapp/lint
- microapp/test
- microapp/build

- ci/notify-success:
requires:
- ci/validate-commits
- microapp/upload-artifact
48 changes: 29 additions & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,38 @@ module.exports = {
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-ts-ignore': 'off',
'@typescript-eslint/member-ordering': 'warn',
'@typescript-eslint/unbound-method': 'warn',
'@typescript-eslint/tslint/config': 'warn',
'@typescript-eslint/member-ordering': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/tslint/config': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/ban-types': 'warn',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/semi': 'warn',
'import/namespace': 'warn',
'import/no-extraneous-dependencies': 'warn',
'import/order': 'warn',
'import/default': 'warn',
'import/extensions': 'warn',
'import/no-unresolved': 'warn',
'no-restricted-syntax': 'warn',
eqeqeq: 'warn',
'no-useless-return': 'warn',
'no-shadow': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/semi': 'off',
'import/namespace': 'off',
'import/no-extraneous-dependencies': 'off',
'import/order': 'off',
'import/default': 'off',
'import/extensions': 'off',
'import/no-unresolved': 'off',
'no-restricted-syntax': 'off',
eqeqeq: 'off',
'no-useless-return': 'off',
'no-shadow': 'off',
'no-global-assign': 'off',
'react/destructuring-assignment': 'warn',
'react/jsx-no-bind': 'warn',
'jsdoc/require-param-type': 'warn'
'react/destructuring-assignment': 'off',
'react/jsx-no-bind': 'off',
'jsdoc/require-param-type': 'off',
'func-names': 'off',
'quote-props': 'off',
'react/jsx-indent-props': 'off',
'react/jsx-one-expression-per-line': 'off',
'space-before-function-paren': 'off',
'@typescript-eslint/space-before-function-paren': 'off',
'import/no-named-as-default': 'off',
'import/no-named-as-default-member': 'off',
'no-console': 'off',
'@typescript-eslint/no-non-null-assertion': 'off'
},
settings: {
react: {
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@

# IDE
.vscode/
.DS_Store

# Logs
yarn-error.log
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ const registry = new NgBuild(this, {
})

gulp.registry(registry)
gulp.task('ci:lint', gulp.series(['lint']))
gulp.task('ci:test', gulp.series(['test']))
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"js-cookie": "^2.2.0",
"lodash": "^4.17.5",
"nanoid": "^1.0.2",
"ng-build": "github:bigcommerce-labs/ng-build#14.0.10",
"ng-build": "git+ssh://git@github.com:bigcommerce-labs/ng-build.git#14.0.10",
"prop-types": "^15.6.1",
"react-emotion": "^9.1.2",
"styled-components": "^4.4.1"
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15617,9 +15617,9 @@ next-tick@^1.0.0, next-tick@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"

"ng-build@github:bigcommerce-labs/ng-build#14.0.10":
"ng-build@git+ssh://git@github.com:bigcommerce-labs/ng-build.git#14.0.10":
version "14.0.10"
resolved "git+ssh://git@github.com/bigcommerce-labs/ng-build.git#53366df79cba5db81695969d8493180611c34a4e"
resolved "git+ssh://git@github.com:bigcommerce-labs/ng-build.git#53366df79cba5db81695969d8493180611c34a4e"
dependencies:
"@babel/core" "^7.10.2"
"@babel/plugin-proposal-class-properties" "^7.10.1"
Expand Down