UNPKG

unquery

Version:

Build and control queries with confidence.

52 lines (51 loc) 1.17 kB
module.exports = { env: { browser: true, es6: true, jest: true, }, extends: [ 'airbnb-base', 'plugin:@typescript-eslint/recommended', 'prettier', 'prettier/@typescript-eslint', ], globals: { Atomics: 'readonly', SharedArrayBuffer: 'readonly', }, parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 2018, sourceType: 'module', }, plugins: ['prettier', '@typescript-eslint'], rules: { 'prettier/prettier': 'error', 'import/prefer-default-export': 'off', 'no-param-reassign': 'off', 'no-restricted-syntax': 'off', 'no-use-before-define': 'off', 'guard-for-in': 'off', 'import/extensions': [ 'error', 'ignorePackages', { ts: 'never', }, ], '@typescript-eslint/explicit-function-return-type': 'off', 'no-restricted-globals': 'off', 'no-plusplus': 'off', 'no-bitwise': 'off', 'no-unused-expressions': ['error', { allowShortCircuit: true }], '@typescript-eslint/explicit-module-boundary-types': 'off', }, settings: { 'import/resolver': { node: { extensions: ['.ts'], }, }, }, }