odin-javascript-exercises/node_modules/eslint-config-airbnb-base/index.js

22 lines
400 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
module.exports = {
extends: [
'./rules/best-practices',
'./rules/errors',
'./rules/node',
'./rules/style',
'./rules/variables',
'./rules/es6',
'./rules/imports',
].map(require.resolve),
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module',
ecmaFeatures: {
experimentalObjectRestSpread: true,
},
},
rules: {
strict: 'error',
},
};