Skip to content

Commit

Permalink
fix: updated js-gardener
Browse files Browse the repository at this point in the history
  • Loading branch information
simlu committed Apr 14, 2019
1 parent 96650e1 commit de21898
Show file tree
Hide file tree
Showing 13 changed files with 2,373 additions and 435 deletions.
5 changes: 1 addition & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"presets": [
"@babel/preset-flow"
],
"presets": [],
"plugins": [
"@babel/plugin-transform-flow-comments",
"@babel/plugin-proposal-object-rest-spread"
]
}
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
- run: sudo yarn global add gally
- run: >-
ga approve $CIRCLE_PR_NUMBER --condition
"base.ref=dev&state=open&user.login=dependabot[bot]"
"base.ref=dev&state=open&user.login=dependabot[bot]&mergeable=true"
- run: >-
ga merge $CIRCLE_PR_NUMBER --condition
"base.ref=dev&state=open&user.login=dependabot[bot]"
"base.ref=dev&state=open&user.login=dependabot[bot]&mergeable=true"
test-node-v10:
docker:
- image: 'circleci/node:10'
Expand Down
2 changes: 2 additions & 0 deletions .depunusedignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@blackflux/eslint-plugin-rules
@blackflux/robo-config-plugin
115 changes: 115 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"root": true,
"extends": [
"airbnb-base",
"plugin:jasmine/recommended"
],
"rules": {
"jasmine/expect-single-argument": 0,
"@blackflux/rules/jasmine-expect-two-arguments": 1,
"jasmine/new-line-before-expect": 0,
"@blackflux/rules/istanbul-prevent-ignore": 1,
"@blackflux/rules/kebab-case-enforce": 1,
"max-len": [
"error",
{
"code": 120
}
],
"mocha/no-exclusive-tests": "error",
"prefer-destructuring": [
"error",
{
"object": false,
"array": false
}
],
"comma-dangle": [
"error",
"never"
],
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"quotes": [
2,
"single",
{
"avoidEscape": true
}
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-unused-vars": [
1,
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
"no-var": [
1
],
"no-fallthrough": [
1
],
"spaced-comment": [
"error",
"always",
{
"line": {
"exceptions": [
"-",
"+"
],
"markers": [
"=",
"!"
]
},
"block": {
"exceptions": [
"-",
"+"
],
"markers": [
"=",
"!",
":",
"::"
],
"balanced": true
}
}
]
},
"env": {
"es6": true,
"node": true,
"jasmine": true,
"mocha": true
},
"globals": {
"logger": true,
"log4js": true
},
"plugins": [
"json",
"jasmine",
"mocha",
"markdown",
"@blackflux/rules"
],
"parser": "babel-eslint"
}
12 changes: 0 additions & 12 deletions .flowconfig

This file was deleted.

74 changes: 68 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# IDE Specific
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf

# Generated files
.idea/**/contentModel.xml

# Sensitive or high-churn files
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
Expand All @@ -12,17 +20,71 @@
.idea/**/uiDesigner.xml
.idea/**/dbnavigator.xml

# OS Specific
# Gradle
.idea/**/gradle.xml
.idea/**/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/**/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

# ----------------------------------------

# OSX Specific
.DS_Store

# Node Specific
# ----------------------------------------

# NodeJs Specific
node_modules
npm-debug.log
yarn-error.log
release.tar.gz

# Test Specific
# ----------------------------------------

# JS-Gardener Specific
coverage/
.coveralls.yml
.idea/dictionaries
lib/

# ----------------------------------------
# ----------------------------------------
# ----------------------------------------

2 changes: 1 addition & 1 deletion .idea/aws-sdk-wrap.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
.idea/
conf/
coverage/
test/
src/
.coveralls.yml
.circleci/config.yml
.travis.yml
gardener.js
.releaserc.json
release.tar.gz
# Do not rely on blacklisting only, use whitelisting instead.
# Here is how: http://tiny.cc/oeg03y

# ----------------------------------------
# ----------------------------------------
# ----------------------------------------

15 changes: 15 additions & 0 deletions .roboconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"@blackflux/robo-config-plugin": {
"tasks": [
"assorted/@npm-opensource"
],
"variables": {
"repoKey": "blackflux/aws-sdk-wrap",
"packageName": "aws-sdk-wrap",
"projectName": "aws-sdk-wrap",
"owner": "simlu",
"ownerName": "Lukas Siemon",
"mergeBot": "MrsFlux"
}
}
}
Loading

0 comments on commit de21898

Please sign in to comment.