mirror of
https://gitlab.com/arma593572/server-config-merger.git
synced 2025-10-25 23:57:12 +00:00
24 lines
646 B
JavaScript
24 lines
646 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['prettier', '@typescript-eslint'],
|
|
parserOptions: {
|
|
project: './tsconfig.json',
|
|
ecmaVersion: 2021,
|
|
sourceType: 'module',
|
|
},
|
|
extends: [
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
ignorePatterns: ['.eslintrc.js'],
|
|
rules: {
|
|
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
|
|
'@typescript-eslint/no-explicit-any': ['off'],
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'warn',
|
|
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
|
|
],
|
|
semi: ['error', 'always'],
|
|
},
|
|
};
|