gitscope
← marzneshin / v0.3.0-alpha / dashboard/.eslintrc.cjs
https://dev.kronoz.win/r/marzneshin.git
dashboard/.eslintrc.cjs · JavaScript
Blame Raw
 1module.exports = {
 2  root: true,
 3  env: { browser: true, es2020: true },
 4  extends: [
 5    'eslint:recommended',
 6    'plugin:@typescript-eslint/recommended',
 7    'plugin:react-hooks/recommended',
 8  ],
 9  ignorePatterns: ['dist', '.eslintrc.cjs'],
10  parser: '@typescript-eslint/parser',
11  plugins: ['react-refresh'],
12  rules: {
13    '@typescript-eslint/unused-disable-directives': ['off'],
14    '@typescript-eslint/ban-ts-comment': ['off'],
15    '@typescript-eslint/no-explicit-any': ['off'],
16    'react-refresh/only-export-components': ['off'],
17  },
18};