@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
36 lines (35 loc) • 1.04 kB
JavaScript
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['*.js'],
rules: {
'no-debugger': 'error',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'warn',
'@typescript-eslint/explicit-module-boundary-types': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/return-await': 'error',
'@typescript-eslint/unbound-method': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_+$',
destructuredArrayIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
curly: 'error',
'no-multiple-empty-lines': ['error', { max: 2 }],
},
};