Skip to content

Commit

Permalink
Modify data and mods files to follow style rules
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Dec 31, 2015
1 parent b7051bf commit 79a5b23
Show file tree
Hide file tree
Showing 34 changed files with 5,957 additions and 6,016 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tournaments/lib/**
20 changes: 10 additions & 10 deletions dev-tools/eslint/config-base.js → .eslintrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
'use strict';

const os = require('os');

module.exports = {
{
"env": {
"node": true
},
Expand Down Expand Up @@ -114,14 +110,12 @@ module.exports = {
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"consistent-this": 0,
"eol-last": os.EOL === '\n' ? [2, "unix"] : 0,
"func-names": 0,
"func-style": 0,
"id-length": 0,
"id-match": 0,
"indent": [2, "tab"],
"key-spacing": 0,
"linebreak-style": os.EOL === '\n' ? [2, "unix"] : 0,
"lines-around-comment": 0,
"max-nested-callbacks": 0,
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
Expand All @@ -141,12 +135,13 @@ module.exports = {
"no-trailing-spaces": 2,
"no-underscore-dangle": 0,
"no-unneeded-ternary": 2,
"no-var": 2,
"object-curly-spacing": [2, "never"],
"one-var": 0,
"operator-assignment": 0,
"operator-linebreak": [2, "after"],
"padded-blocks": [2, "never"],
"quote-props": [2, "as-needed", {"keywords": true, "unnecessary": false}],
"quote-props": 0,
"quotes": 0,
"require-jsdoc": 0,
"semi-spacing": [2, {"before": false, "after": true}],
Expand All @@ -163,6 +158,11 @@ module.exports = {
"spaced-comment": 0,
"wrap-regex": 0,

"validate-conditionals": 2
"validate-conditionals": 2,
},
"ecmaFeatures": {
"blockBindings": true,
"classes": true,
"octalLiterals": true
}
};
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/eslint-cache
/chat-plugins/private.js
npm-debug.log
.eslintcache

# boilerplate #
###############
Expand Down
Loading

0 comments on commit 79a5b23

Please sign in to comment.