mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-04-30 05:45:37 +08:00
25 lines
678 B
JavaScript
25 lines
678 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@blockstack/eslint-config'],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['eslint-plugin-tsdoc'],
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: './tsconfig.json',
|
|
ecmaVersion: 2019,
|
|
sourceType: 'module',
|
|
},
|
|
ignorePatterns: [
|
|
'lib/*',
|
|
],
|
|
rules: {
|
|
'@typescript-eslint/no-inferrable-types': 'off',
|
|
'@typescript-eslint/camelcase': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/no-use-before-define': ['error', 'nofunc'],
|
|
'@typescript-eslint/no-floating-promises': 'error',
|
|
'no-warning-comments': 'warn',
|
|
'tsdoc/syntax': 'error',
|
|
}
|
|
};
|