Aktueller Stand
This commit is contained in:
35
backend/node_modules/fastify/eslint.config.js
generated
vendored
Normal file
35
backend/node_modules/fastify/eslint.config.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
'use strict'
|
||||
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'
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user