mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 08:34:40 +08:00
20 lines
596 B
JavaScript
20 lines
596 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ['@stacks/eslint-config', 'prettier'],
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: './tsconfig.json',
|
|
ecmaVersion: 2017,
|
|
sourceType: 'module',
|
|
},
|
|
ignorePatterns: ['lib/*', 'test/*', '.eslintrc.js'],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/restrict-template-expressions': 'off',
|
|
},
|
|
};
|