Skip to content

Commit

Permalink
Better linters and dot.files
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-dimitru committed Jun 3, 2019
1 parent 16c4785 commit d6fa797
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 122 deletions.
25 changes: 7 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"env": {
"node": true,
"browser": false
Expand All @@ -14,23 +17,7 @@
"Worker": true,
"navigator": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true
},
"ecmaFeatures": {},
"rules": {
"strict": [2, "never"],
"no-shadow": 2,
Expand Down Expand Up @@ -62,7 +49,6 @@
"block-scoped-var": 0,
"no-undef": "error",
"consistent-return": 2,
"consistent-this": ["error", "self"],
"curly": [2, "multi-line"],
"default-case": 2,
"dot-notation": [2, {
Expand Down Expand Up @@ -120,6 +106,9 @@
"beforeColon": false,
"afterColon": true
}],
"new-cap": [2, {
"newIsCap": true
}],
"no-multiple-empty-lines": [2, {
"max": 2
}],
Expand Down
70 changes: 3 additions & 67 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,68 +1,4 @@
/test/
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

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

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
.idea
*.lock

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

# Dependency directory
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

# OSX.gitignore
# https://github.com/github/gitignore/blob/master/Global/OSX.gitignore
.npm
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# cache files for sublime text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache

# workspace files are user-specific
*.sublime-workspace

# project files should be checked into the repository, unless a significant
# proportion of contributors will probably not be using SublimeText
*.sublime-project

# sftp configuration file
sftp-config.json
private/*
.eslintcache
node_modules
8 changes: 8 additions & 0 deletions .markdownlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"default": true,
"line_length": false,
"no-trailing-punctuation": false,
"ul-start-left": false,
"no-inline-html": false,
"first-line-h1": false
}
47 changes: 10 additions & 37 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,11 @@
logs
*.log
pids
*.pid
*.seed
lib-cov
coverage
.grunt
.idea
*.lock
build/Release
node_modules
.npm
.github
.meteor
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
sftp-config.json
private/*
demo/*
demo-simplest-download-button/*
demo-simplest-streaming/*
demo-simplest-upload/*
docs/*
.npm/*
.meteor/*
.versions
.eslintcache
node_modules
npm-debug.log*

logo.png
logo-bw.png

0 comments on commit d6fa797

Please sign in to comment.