Debian Codegraph @

experimental/tskit/.eslintrc.js

raw
1 module.exports = {
2 root: true,
3 parser: '@typescript-eslint/parser',
4 parserOptions: {
5 tsconfigRootDir: __dirname,
6 project: ['./tsconfig.json'],
7 },
8 plugins: [
9 '@typescript-eslint',
10 ],
11 extends: [
12 'airbnb-typescript',
13 'plugin:@typescript-eslint/recommended-requiring-type-checking',
14 ],
15 settings: {
16 react: { // silence the warning even though we don't use react
17 "version": "latest",
18 },
19 },
20 rules: {
21 '@typescript-eslint/no-explicit-any': 'off',
22 '@typescript-eslint/no-namespace': 'off',
23 '@typescript-eslint/no-unsafe-call': 'off',
24 '@typescript-eslint/no-unsafe-member-access': 'off',
25 '@typescript-eslint/triple-slash-reference': 'off',
26 '@typescript-eslint/indent': 'off',
27
28 'import/prefer-default-export': 'off',
29 'no-param-reassign': 'off',
30 'no-underscore-dangle': 'off',
31 }
32 };