'use strict';

module.exports = {
    extends: 'rowno',
    env: { es6: true },
    rules: {
        // ES6
        'arrow-parens': 1,
        'arrow-spacing': [1, { before: true, after: true }],
        'constructor-super': 2,
        'generator-star-spacing': [1, { before: true, after: false }],
        'no-class-assign': 2,
        'no-const-assign': 2,
        'no-dupe-class-members': 2,
        'no-this-before-super': 2,
        'no-var': 1,
        'object-shorthand': [1, 'always'],
        'prefer-arrow-callback': 1,
        'prefer-const': 1,
        'prefer-spread': 1,
        'prefer-reflect': 1,
        'prefer-template': 1,
        'require-yield': 1,
    }
};

'use strict';

module.exports = {
    extends: 'rowno',
    env: { es6: true },
    rules: {
        // ES6
        'arrow-body-style': [2, 'as-needed'],
        'arrow-parens': 1,
        'arrow-spacing': [1, { before: true, after: true }],
        'constructor-super': 2,
        'generator-star-spacing': [1, { before: true, after: false }],
        'no-arrow-condition': 2,
        'no-class-assign': 2,
        'no-const-assign': 2,
        'no-dupe-class-members': 2,
        'no-this-before-super': 2,
        'no-var': 1,
        'object-shorthand': [1, 'always'],
        'prefer-arrow-callback': 1,
        'prefer-const': 1,
        'prefer-spread': 1,
        'prefer-reflect': 1,
        'prefer-template': 1,
        'require-yield': 1,
    }
};

Add new eslint 1.8.0 options
Add new eslint 1.8.0 options
