module.exports = { env: { browser: true, es2021: true, }, extends: [ 'airbnb', 'plugin:bpmn-io/es6', 'plugin:prettier/recommended', 'plugin:sonarjs/recommended', 'plugin:import/errors', 'plugin:import/warnings', ], parserOptions: { ecmaFeatures: { jsx: true, }, ecmaVersion: 'latest', sourceType: 'module', }, rules: { 'jsx-a11y/no-autofocus': 'off', 'jsx-a11y/label-has-associated-control': 'off', 'no-console': 'off', 'no-unused-vars': [ 'error', { destructuredArrayIgnorePattern: '^_', varsIgnorePattern: '_', argsIgnorePattern: '^_', }, ], 'import/extensions': [ 'error', 'ignorePackages', { js: 'never', jsx: 'never', ts: 'never', tsx: 'never', }, ], }, };