mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 13:21:45 +01:00
36 lines
982 B
JavaScript
36 lines
982 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
},
|
|
plugins: ['@typescript-eslint/eslint-plugin'],
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
ignorePatterns: ['dist', 'tslint.json', 'node_modules'],
|
|
rules: {
|
|
'@typescript-eslint/interface-name-prefix': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
semi: ['error', 'never'],
|
|
quotes: ['error', 'single', { avoidEscape: true }],
|
|
'sort-imports': ['error', {
|
|
ignoreCase: true,
|
|
allowSeparatedGroups: true,
|
|
}],
|
|
curly: [2, 'multi-line'],
|
|
'max-len': [
|
|
'error',
|
|
{
|
|
code: 120,
|
|
ignoreStrings: true,
|
|
ignoreTemplateLiterals: true,
|
|
ignoreRegExpLiterals: true,
|
|
},
|
|
],
|
|
'comma-dangle': ['error', 'always-multiline'],
|
|
},
|
|
}
|