aboutsummaryrefslogtreecommitdiff
path: root/packages/bank-ui/.eslintrc.cjs
blob: 05618b49932a289bba5a954b39f677ecbf7876de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
  extends: [
    'eslint:recommended',
    'plugin:@typescript-eslint/recommended',
    'plugin:react/recommended',
  ],
  parser: '@typescript-eslint/parser',
  plugins: ['@typescript-eslint', 'header'],
  root: true,
  rules: {
    "react/no-unknown-property": 0,
    "react/no-unescaped-entities": 0,
    "@typescript-eslint/no-namespace": 0,
    "@typescript-eslint/no-unused-vars": [2,{argsIgnorePattern:"^_"}],
    "header/header": [2,"copyleft-header.js"]
  },
  parserOptions: {
    ecmaVersion: 6,
    sourceType: 'module',
    jsx: true,
  },
  settings: {
    react: {
      version: "18",
      pragma: "h",
    }
  },
};