21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
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',
|
|
},
|
|
};
|