UNPKG

mutable-store

Version:

a mutable state management library for javascript

46 lines 1.46 kB
module.exports = { root: true, parser: '@typescript-eslint/parser', plugins: [ '@typescript-eslint', ], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', ], parserOptions: { project: './tsconfig.json', ecmaVersion: 2020, sourceType: 'module', }, rules: { // More balanced rules that won't break functionality '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unused-vars': ['warn', { 'argsIgnorePattern': '^_' }], '@typescript-eslint/ban-ts-comment': ['warn', { 'ts-expect-error': 'allow-with-description', 'ts-ignore': 'allow-with-description', }], '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/strict-boolean-expressions': 'off', 'no-console': 'warn', 'no-debugger': 'error', 'no-duplicate-imports': 'error', 'no-var': 'error', 'prefer-const': 'warn', 'no-self-assign': 'error', }, ignorePatterns: [ 'node_modules/', 'coverage/', '*.js', '*.min.js', 'jest.config.js', 'index copy.ts', ], };