mirror of
https://github.com/alexgo-io/stacks-transaction-sponsor.git
synced 2026-01-12 06:43:50 +08:00
31 lines
791 B
JavaScript
31 lines
791 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['prettier', '@typescript-eslint'],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/ban-ts-comment': 0,
|
|
'@typescript-eslint/no-explicit-any': 0,
|
|
'@typescript-eslint/explicit-module-boundary-types': 0,
|
|
'@typescript-eslint/naming-convention': [
|
|
'error',
|
|
{ selector: 'class', format: ['PascalCase'] },
|
|
{ selector: 'interface', format: ['PascalCase'] },
|
|
],
|
|
},
|
|
ignorePatterns: [
|
|
'!.dependency-cruiser.js',
|
|
'packages/*/dist/**',
|
|
'node_modules/**',
|
|
'.yarn/**',
|
|
],
|
|
env: {
|
|
node: true,
|
|
},
|
|
};
|