UNPKG

native-file-system-adapter-ts

Version:
29 lines (28 loc) 1.01 kB
// This ESLint config follows the instructions here: // https://github.com/typescript-eslint/typescript-eslint/blob/e5db36f140b6463965858ad4ed77f71a9a00c5a7/docs/getting-started/linting/README.md // and here // https://prettier.io/docs/en/integrating-with-linters.html#disable-formatting-rules // in order to integrate with TypeScript and Prettier module.exports = { root: true, parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint', 'prettier'], extends: [ 'eslint:recommended', 'prettier', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', ], overrides: [ { files: ['src/**/*.ts', 'src/**/*.tsx'], rules: { 'prettier/prettier': 'error', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-non-null-assertion': 'off', }, }, ], };