Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into new-no-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gerber committed Jun 13, 2017
2 parents 0745c42 + b9c5795 commit 32f1c06
Show file tree
Hide file tree
Showing 1,008 changed files with 20,965 additions and 111,248 deletions.
83 changes: 83 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
module.exports = {
"rules": {
// the rules below should be sorted in a same way they are sorted on http://eslint.org/docs/rules page
// http://eslint.org/docs/rules/#possible-errors
"no-caller": 2,
"no-control-regex": 2,
"no-empty": 1,
"no-invalid-regexp": 2,
"no-regex-spaces": 2,
"no-unsafe-negation": 1,
"valid-jsdoc": 0,
"valid-typeof": 2,
// http://eslint.org/docs/rules/#best-practices
"curly": 2,
"eqeqeq": [2, "smart"],
"guard-for-in": 0,
"no-else-return": 1,
"no-fallthrough": 2,
"no-invalid-this": 1,
"no-iterator": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-new-func": 2,
"no-new-wrappers": 2,
"no-new": 2,
"no-proto": 2,
"no-script-url": 2,
"wrap-iife": [2, "outside"],
// http://eslint.org/docs/rules/#strict-mode
"strict": 2,
// http://eslint.org/docs/rules/#variables
"no-shadow-restricted-names": 2,
"no-shadow": 1,
"no-undef": 2,
"no-unused-vars": [1, {"vars": "all", "args": "none"}],
"no-use-before-define": 0,
// http://eslint.org/docs/rules/#nodejs-and-commonjs
"no-new-require": 2,
// http://eslint.org/docs/rules/#stylistic-issues
"block-spacing": 1,
"brace-style": [1, "1tbs", { allowSingleLine: true }],
"camelcase": 1,
"comma-dangle": 2,
"comma-spacing": 1,
"comma-style": [1, "last"],
"computed-property-spacing": 1,
"eol-last": 1,
"func-call-spacing": 1,
"indent": [1, 4],
"key-spacing": [1, { beforeColon: false, afterColon: true }],
"max-len": [1, 120],
"new-cap": [0, {
"capIsNewExceptions": [
"$.Deferred",
"$.Event",
"CodeMirror.Pos",
"Immutable.Map",
"Immutable.List",
"JSLINT"
]
}],
"new-parens": 2,
"no-bitwise": 2,
"no-new-object": 2,
"no-trailing-spaces": 1,
"semi-spacing": 1,
"semi": 2
},
"globals": {
"$": false,
"brackets": false,
"clearTimeout": false,
"console": false,
"define": false,
"require": false,
"setTimeout": false,
"window": false,
"ArrayBuffer": false,
"Uint32Array": false,
"WebSocket": false,
"XMLHttpRequest": false
}
};
68 changes: 0 additions & 68 deletions .eslintrc.json

This file was deleted.

14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Thumbs.db
/node_modules
/npm-debug.log

# ignore node_modules inside src
/src/node_modules

# ignore files copied from node_modules to src/thirdparty
/src/thirdparty/CodeMirror
/src/thirdparty/less.min.js

# ignore compiled files
/dist
/src/.index.html
Expand All @@ -16,13 +23,16 @@ Thumbs.db
# ignore everything in the dev extension directory EXCEPT the README
# (so that the directory is non-empty and can be in git)
/src/extensions/dev/*
!/src/extensions/dev/README
!/src/extensions/dev/README.*

/src/extensions/disabled

# ignore .disabled file for default extensions
/src/extensions/default/*/.disabled

# generate through grunt
/src/config.json

#OSX .DS_Store files
.DS_Store

Expand All @@ -39,3 +49,5 @@ Thumbs.db
# Files that can be automatically downloaded that we don't want to ship with our builds
/src/extensibility/node/node_modules/request/tests/

# Files build by scripts
/src/thirdparty/semver.browser.js
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "src/thirdparty/CodeMirror"]
path = src/thirdparty/CodeMirror
url = https://github.com/adobe/CodeMirror2.git
[submodule "src/thirdparty/path-utils"]
path = src/thirdparty/path-utils
url = https://github.com/jblas/path-utils.git
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
sudo: false # use container-based Travis infrastructure
node_js:
- "0.10"
- "6"
before_script:
- npm install -g grunt-cli
- npm install -g jasmine-node
Expand Down
74 changes: 74 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading

0 comments on commit 32f1c06

Please sign in to comment.