Skip to content

Commit

Permalink
Merge private repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jstejada committed Apr 18, 2017
2 parents ebac427 + 1f9e2e0 commit be5c3d2
Show file tree
Hide file tree
Showing 5,710 changed files with 23,837 additions and 131,839 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 0 additions & 3 deletions static/babelrc.json → .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
"electron",
"react"
],
"plugins": [
"transform-async-generator-functions"
],
"sourceMaps": "inline"
}
106 changes: 106 additions & 0 deletions .coffeelint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"arrow_spacing": {
"level": "ignore"
},
"camel_case_classes": {
"level": "error"
},
"coffeescript_error": {
"level": "error"
},
"colon_assignment_spacing": {
"level": "ignore",
"spacing": {
"left": 0,
"right": 0
}
},
"cyclomatic_complexity": {
"value": 10,
"level": "ignore"
},
"duplicate_key": {
"level": "error"
},
"empty_constructor_needs_parens": {
"level": "ignore"
},
"indentation": {
"value": 2,
"level": "error"
},
"max_line_length": {
"value": 140,
"level": "error",
"limitComments": true
},
"missing_fat_arrows": {
"level": "ignore"
},
"newlines_after_classes": {
"value": 3,
"level": "ignore"
},
"no_backticks": {
"level": "error"
},
"no_debugger": {
"level": "warn"
},
"no_empty_functions": {
"level": "ignore"
},
"no_empty_param_list": {
"level": "ignore"
},
"no_implicit_braces": {
"level": "ignore",
"strict": true
},
"no_implicit_parens": {
"strict": true,
"level": "ignore"
},
"no_interpolation_in_single_quotes": {
"level": "ignore"
},
"no_plusplus": {
"level": "ignore"
},
"no_stand_alone_at": {
"level": "ignore"
},
"no_tabs": {
"level": "error"
},
"no_throwing_strings": {
"level": "error"
},
"no_trailing_semicolons": {
"level": "error"
},
"no_trailing_whitespace": {
"level": "error",
"allowed_in_comments": false,
"allowed_in_empty_lines": true
},
"no_unnecessary_double_quotes": {
"level": "ignore"
},
"no_unnecessary_fat_arrows": {
"level": "warn"
},
"non_empty_constructor_needs_parens": {
"level": "ignore"
},
"prefer_english_operator": {
"level": "ignore",
"doubleNotLevel": "ignore"
},
"space_operators": {
"level": "ignore"
},
"spacing_after_comma": {
"level": "ignore"
}
}
73 changes: 72 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,74 @@
{
"extends": "./build/config/eslint.json"
"parser": "babel-eslint",
"extends": "airbnb",
"globals": {
"NylasEnv": false,
"$n": false,
"waitsForPromise": false,
"advanceClock": false,
"TEST_ACCOUNT_ID": false,
"TEST_ACCOUNT_NAME": false,
"TEST_ACCOUNT_EMAIL": false,
"TEST_ACCOUNT_ALIAS_EMAIL": false
},
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"rules": {
"arrow-body-style": "off",
"arrow-parens": "off",
"class-methods-use-this": "off",
"prefer-arrow-callback": ["error", {"allowNamedFunctions": true}],
"eqeqeq": ["error", "smart"],
"id-length": "off",
"object-curly-spacing": "off",
"max-len": "off",
"new-cap": ["error", {"capIsNew": false}],
"newline-per-chained-call": "off",
"no-bitwise": "off",
"no-lonely-if": "off",
"no-console": "off",
"no-continue": "off",
"no-constant-condition": "off",
"no-loop-func": "off",
"no-plusplus": "off",
"no-shadow": "error",
"no-underscore-dangle": "off",
"object-shorthand": "off",
"quotes": "off",
"quote-props": ["error", "consistent-as-needed", { "keywords": true }],
"no-param-reassign": ["error", { "props": false }],
"semi": "off",
"no-mixed-operators": "off",
"import/extensions": ["error", "never", { "json": "always" }],
"import/no-unresolved": ["error", {"ignore": ["nylas-exports", "nylas-component-kit", "electron", "nylas-store", "react-dom/server", "nylas-observables", "windows-shortcuts", "moment-round", "better-sqlite3", "chrono-node", "event-kit", "enzyme", "isomorphic-core"]}],
"import/no-extraneous-dependencies": "off",
"import/newline-after-import": "off",
"import/prefer-default-export": "off",
"react/no-multi-comp": "off",
"react/no-find-dom-node": "off",
"react/no-string-refs": "off",
"react/no-unused-prop-types": "off",
"react/forbid-prop-types": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/prop-types": ["error", {"ignore": ["children"]}],
"react/sort-comp": "error",
"no-restricted-syntax": [
"error", "ForInStatement", "LabeledStatement", "WithStatement"
],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"no-useless-return": "off"
},
"settings": {
"import/core-modules": [ "nylas-exports", "nylas-component-kit", "electron", "nylas-store", "nylas-observables" ],
"import/resolver": {"node": {"extensions": [".es6", ".jsx", ".coffee", ".json", ".cjsx", ".js"]}}
}
}
115 changes: 72 additions & 43 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,46 +1,75 @@
.arcconfig
.arclint
arclib
*.swp
*~
.DS_Store
Thumbs.db
.project
.svn
.nvm-version
##### Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

##### Arcanist / Phab
**/.arcconfig
**/.arclint
**/arclib

##### Client Private Plugins (symlinked)
**/client-app/src/error-logger-extensions
**/client-app/src/nylas-private-*
**/internal_packages/nylas-private-*
**/internal_packages/activity-list
**/internal_packages/composer-mail-merge
**/internal_packages/composer-scheduler
**/internal_packages/link-tracking
**/internal_packages/open-tracking
**/internal_packages/send-later
**/internal_packages/send-reminders
**/internal_packages/thread-sharing
**/internal_packages/client-sync

##### Node modules
node_modules
npm-debug.log
debug.log
/tags
/electron/
/_docs_output
/junitxml

spec/fixtures/evil-files/
build/resources/certs
/_site
/.sass-cache
.integration-test-config
.idea/
!packages/client-app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
**/npm-debug.log*
**/lerna-debug.log*

##### Certs for building
**/build/resources/certs

##### Misc swap files
**/*.swp
**/*.swo
**/*~
**/*#
**/.DS_Store
**/Thumbs.db
**/#emacs

# Built cloud files
n1_cloud_dist

# Built Nylas Mail client
packages/client-app/dist

# Tests
spec-saved-state.json

!spec/fixtures/packages/package-with-incompatible-native-module/node_modules

#emacs
*~
*#

/src/error-logger-extensions
/src/nylas-private-*
internal_packages/nylas-private-*
internal_packages/activity-list
internal_packages/composer-mail-merge
internal_packages/composer-scheduler
internal_packages/link-tracking
internal_packages/open-tracking
internal_packages/send-later
internal_packages/send-reminders
internal_packages/thread-sharing
internal_packages/local-sync
/dist
/dump.rdb
# Symlinked Jasmine config files
**/jasmine/config.json
!packages/isomorphic-core/spec/jasmine/config.json

# Symlinked isomorphic-core Specs
packages/client-app/spec/isomorphic-core

# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

# Sqlite amalgamation for scripts
scripts/sqlite

# Scripts for calculating statistics
scripts/toolbox
scripts/venv

# Python
*.pyc

# OAuth client secret for talking to Google Sheets
client_secret.json
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

Loading

0 comments on commit be5c3d2

Please sign in to comment.