UNPKG

@michaeljaltamirano/eslint-plugin

Version:

Strongly-opinionated ESLint config

31 lines (30 loc) 645 B
module.exports = { root: true, env: { browser: false, es2021: true, node: true, jest: true, }, extends: [ 'plugin:@michaeljaltamirano/base', 'plugin:@michaeljaltamirano/typescript', 'plugin:@michaeljaltamirano/prettier', ], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 12, sourceType: 'module', project: './tsconfig.json', }, rules: { 'no-tabs': 'off', indent: ['error', 'tab'], 'linebreak-style': ['error', 'unix'], quotes: ['error', 'single'], semi: ['error', 'always'], 'import/prefer-default-export': 'off', 'import/no-unresolved': 'off', 'import/extensions': 'off', }, };