Skip to content

Commit

Permalink
feat: 1st commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jul 10, 2019
0 parents commit 9408536
Show file tree
Hide file tree
Showing 27 changed files with 6,430 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .dependabot/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# config file for `dependabot`
#
# update: wget -O config.yml https://git.io/fjVjR
# document: https://dependabot.com/docs/config-file/
#

version: 1
update_configs:
# Keep package.json (& lockfiles) up to date as soon as
# new versions are published to the npm registry
- package_manager: "javascript"
directory: "/"
update_schedule: "live"
# target_branch: "develop"
default_reviewers:
- "fisker"
default_assignees:
- "fisker"
# default_labels:
# - "label-name"

allowed_updates:
- match:
# Only includes indirect (aka transient/sub-dependencies) for
# supported package managers: ruby:bundler, python, go:modules,
# php:composer, rust:cargo
update_type: "all"
# ignored_updates:
# - match:
# dependency_name: "express"
# # The version_requirement specifies the versions to ignore.
# # The range format is specific to the package manager
# # (e.g., ^1.0.0 for JS, or ~> 2.0 for Ruby).
# version_requirement: "4.x"
# - match:
# # Wildcards match unlimited arbitrary characters (or none)
# dependency_name: "aws*

# Automerge all development updates and production
# security (semver patch) updates (waiting for CI to pass)
automerged_updates:
- match:
dependency_type: "development"
update_type: "all"
- match:
dependency_type: "production"
update_type: "security:patch"
- match:
dependency_type: "production"
update_type: "semver:patch"
- match:
dependency_type: "production"
update_type: "semver:minor"

ignored_updates:
- match:
dependency_name: "caniuse-lite"
- match:
dependency_name: "caniuse-db"
- match:
dependency_name: "electron-to-chromium"

# auto update package.json
version_requirement_updates: "increase_versions"
42 changes: 42 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# config file for `editorconfig`
#
# update: wget -O .editorconfig https://git.io/fjVjz
# document: https://editorconfig.org
#

# top-most EditorConfig file
root = true

# all files
[*]

# Set default charset
charset = utf-8

# Unix-style newlines
end_of_line = lf

# with a newline ending every file
insert_final_newline = true

# 2 space indentation
indent_style = space
indent_size = 2

# remove any whitespace characters preceding newline characters
trim_trailing_whitespace = true

# overrides

# python overrides
[*.py]
indent_size = 4

# cmd overrides
[*.{bat,cmd}]
charset = ansi
end_of_line = crlf

# markdown
[*.{md,markdown}]
insert_final_newline = false
28 changes: 28 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ignore file for `eslint`
#
# update: wget -O .eslintignore https://git.io/fjVjo
# document: https://eslint.org/docs/user-guide/configuring#eslintignore
#

# also lint dot files
!.*

# vendors
node_modules/**
**/vendors/**
**/vendor/**
**/third-party/**

# build file
lib/**
dist/**
**/*.min.*

# fixtures
**/fixtures/**

# test
.nyc_outputs/**
coverage/**

# project glob
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*!
* config file for `eslint`
*
* update: wget -O .eslintrc.js https://git.io/fjVjK
* document: https://eslint.org/docs/user-guide/configuring
*/

/* @fisker/eslint-config https://git.io/fjOeH */

module.exports = {
root: true,
env: {},
parserOptions: {},
extends: ['@fisker'],
settings: {},
rules: {},
plugins: [],
globals: {},
overrides: [],
}
94 changes: 94 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# ignore file for git project
#
# update: wget -O .gitignore https://git.io/fjVjD
#

# Base on https://www.gitignore.io/api/node

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# project ignore files
10 changes: 10 additions & 0 deletions .huskyrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*!
* config file for `husky`
*
* update: wget-O .huskyrc.js https://git.io/fjVjy
* document: https://git.io/fhNph
*/

/* @fisker/husky-config https://git.io/fjCe9 */

module.exports = require('@fisker/husky-config')
4 changes: 4 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"default": true,
"line-length": false
}
29 changes: 29 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ignore file for `prettier`
#
# update: wget -O .prettierignore https://git.io/fjVj5
# document: https://prettier.io/docs/en/ignore.html#ignoring-files
#

# also prettier dot files
!.*

# vendors
node_modules/**
**/vendors/**
**/vendor/**
**/third-party/**

# build file
lib/**
dist/**
**/*.min.*

# fixtures
**/fixtures/**

# test
.nyc_outputs/**
coverage/**

# project glob

14 changes: 14 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
presets: [
[
'@babel/env',
{
// debug: true,
corejs: 3,
exclude: ['transform-typeof-symbol', 'transform-async-to-generator'],
// useBuiltIns: 'usage',
modules: false,
},
],
],
}
10 changes: 10 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*!
* config file for `commitlint`
*
* update: wget -O commitlint.config.js https://git.io/fjVj4
* document: https://git.io/fhAJa
*/

module.exports = {
extends: ['@fisker'],
}
Loading

0 comments on commit 9408536

Please sign in to comment.