fastify
Version:
Fast and low overhead web framework, for Node.js
36 lines (34 loc) • 686 B
JavaScript
const neostandard = require('neostandard')
module.exports = [
...neostandard({
ignores: [
'lib/config-validator.js',
'lib/error-serializer.js',
'test/same-shape.test.js',
'test/types/import.js'
],
ts: true
}),
{
rules: {
'comma-dangle': ['error', 'never'],
'max-len': ['error', {
code: 120,
tabWidth: 2,
ignoreUrls: true,
ignoreStrings: true,
ignoreTemplateLiterals: true,
ignoreRegExpLiterals: true,
ignoreComments: true,
ignoreTrailingComments: true
}]
}
},
{
files: ['**/*.d.ts'],
rules: {
'max-len': 'off'
}
}
]