Blame view

.eslintrc.js 794 Bytes
c39994410   Ryan Glover   wip converting to...
1
2
3
  module.exports = {
    'env': {
      'es6': true,
c39994410   Ryan Glover   wip converting to...
4
5
6
7
8
9
      'meteor': true,
      'node': true
    },
    'extends': 'eslint:recommended',
    'ecmaFeatures': {
      'jsx': true,
db5aba845   Ryan Glover   miscellaneous wor...
10
      'modules': true,
c39994410   Ryan Glover   wip converting to...
11
12
      'experimentalObjectRestSpread': true
    },
db5aba845   Ryan Glover   miscellaneous wor...
13
    'plugins': [],
c39994410   Ryan Glover   wip converting to...
14
    'globals': {
db5aba845   Ryan Glover   miscellaneous wor...
15
      'Bert': true,
c39994410   Ryan Glover   wip converting to...
16
17
      'BlazeLayout': true,
      'Documents': true,
db5aba845   Ryan Glover   miscellaneous wor...
18
19
20
      'FlowRouter': true,
      'Roles': true,
      'SimpleSchema': true
c39994410   Ryan Glover   wip converting to...
21
22
    },
    'rules': {
db5aba845   Ryan Glover   miscellaneous wor...
23
24
25
26
27
28
29
30
31
32
      'comma-dangle': [ 2, 'never' ],
      'computed-property-spacing': [ 2, 'always' ],
      'eqeqeq': [ 2, 'smart' ],
      'indent': [ 2, 2, { 'VariableDeclarator': 2 } ],
      'linebreak-style': [ 2, 'unix' ],
      'no-unneeded-ternary': [ 2 ],
      'object-curly-spacing': [ 2, 'always' ],
      'quotes': [ 2, 'single' ],
      'semi': [ 2, 'always' ],
      'space-infix-ops': [ 2 ]
c39994410   Ryan Glover   wip converting to...
33
34
    }
  };