@spot-meetings/eslint-config
Version:
Spot's ESLint configs (ESLint, Prettier)
39 lines (38 loc) • 806 B
JavaScript
module.exports = {
plugins: ['security'],
extends: ['plugin:security/recommended', 'airbnb-typescript', 'prettier'],
rules: {
'@typescript-eslint/semi': ['error', 'never'],
'import/prefer-default-export': 'off',
'@typescript-eslint/indent': 'off',
'newline-before-return': 'error',
'no-continue': 'off',
'no-restricted-syntax': [
'off',
{
selector: 'ForOfStatement',
},
],
'import/order': [
'error',
{
'newlines-between': 'always',
groups: [
'builtin',
'internal',
'external',
'index',
'sibling',
'parent',
'object',
],
},
],
'no-underscore-dangle': [
'error',
{
allow: ['_id'],
},
],
},
}