summaryrefslogtreecommitdiffstats
path: root/.jshintrc
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-09-03 23:12:46 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-09-03 23:12:46 +0200
commitb3851817ecd59b039f2c2228d08a1c6fd8e60d60 (patch)
tree82a50f69788d5c20632f3ec9c7d3e136502b93b4 /.jshintrc
parent039cfe7edf8faf901069a94b3ca9b66f7973b26a (diff)
downloadwekan-b3851817ecd59b039f2c2228d08a1c6fd8e60d60.tar.gz
wekan-b3851817ecd59b039f2c2228d08a1c6fd8e60d60.tar.bz2
wekan-b3851817ecd59b039f2c2228d08a1c6fd8e60d60.zip
Enforce a consistent ES6 coding style
Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc91
1 files changed, 0 insertions, 91 deletions
diff --git a/.jshintrc b/.jshintrc
deleted file mode 100644
index 0d5cb077..00000000
--- a/.jshintrc
+++ /dev/null
@@ -1,91 +0,0 @@
-{
- // JSHint options: http://jshint.com/docs/options/
- "maxerr": 50,
-
- // Enforcing
- "camelcase": true,
- "eqeqeq": true,
- "undef": true,
- "unused": true,
-
- // Environments
- "browser": true,
- "devel": true,
-
- // Authorized globals
- "globals": {
- // Meteor globals
- "Meteor": false,
- "DDP": false,
- "Mongo": false,
- "Session": false,
- "Accounts": false,
- "Template": false,
- "Blaze": false,
- "UI": false,
- "Match": false,
- "check": false,
- "Tracker": false,
- "Deps": false,
- "ReactiveVar": false,
- "EJSON": false,
- "HTTP": false,
- "Email": false,
- "Assets": false,
- "Handlebars": false,
- "Package": false,
- "App": false,
- "Npm": false,
- "Tinytest": false,
- "Random": false,
- "HTML": false,
-
- // Exported by packages we use
- "_": false,
- "$": false,
- "autosize": false,
- "Router": false,
- "SimpleSchema": false,
- "getSlug": false,
- "Migrations": false,
- "FS": false,
- "BlazeComponent": false,
- "TAPi18n": false,
- "T9n": false,
- "SubsManager": false,
- "Mousetrap": false,
- "Avatar": true,
- "Avatars": true,
- "Ps": true,
- "Presence": true,
- "Presences": true,
-
- // Our collections
- "Boards": true,
- "Lists": true,
- "Cards": true,
- "CardComments": true,
- "Activities": true,
- "Attachments": true,
- "Users": true,
- "AccountsTemplates": true,
-
- // Our objects
- "CSSEvents": true,
- "EscapeActions": true,
- "Filter": true,
- "Filter": true,
- "Mixins": true,
- "Modal": true,
- "MultiSelection": true,
- "Popup": true,
- "Sidebar": true,
- "Utils": true,
- "InlinedForm": true,
-
- // XXX Temp, we should remove these
- "allowIsBoardAdmin": true,
- "allowIsBoardMember": true,
- "Emoji": true
- }
-}