gkd-subscription/.eslintrc.cjs

24 lines
685 B
JavaScript
Raw Normal View History

2023-09-04 17:00:31 +08:00
// @ts-check
const { defineConfig } = require('eslint-define-config');
module.exports = defineConfig({
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'no-empty': 'off',
'prefer-const': 'off',
2023-09-04 17:08:56 +08:00
quotes: ['error', 'single', { allowTemplateLiterals: false }],
2023-09-04 17:00:31 +08:00
},
});