about summary refs log tree commit diff
path: root/.eslintrc.js
blob: 9a9b2fe4a117b7905fecd462cb52901240d29e6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module.exports = {
  root: true,
  extends: '@react-native-community',
  parser: '@typescript-eslint/parser',
  plugins: ['@typescript-eslint'],
  ignorePatterns: [
    '**/__mocks__/*.ts',
    'src/third-party',
    'ios',
    'android',
    'coverage',
  ],
  overrides: [
    {
      files: ['*.js', '*.mjs', '*.ts', '*.tsx'],
      rules: {
        semi: [2, 'never'],
      },
    },
  ],
}