bsky-app/.eslintrc.js

47 lines
941 B
JavaScript
Raw Normal View History

2022-06-08 00:50:05 +02:00
module.exports = {
root: true,
2023-05-24 23:59:42 +02:00
extends: [
'@react-native-community',
'plugin:react/recommended',
2023-05-24 23:59:42 +02:00
'plugin:react-native-a11y/ios',
'prettier',
],
2022-06-08 00:50:05 +02:00
parser: '@typescript-eslint/parser',
2024-03-12 22:57:56 +01:00
plugins: [
'@typescript-eslint',
'detox',
'react',
'lingui',
'simple-import-sort',
],
rules: {
'react/no-unescaped-entities': 0,
'react-native/no-inline-styles': 0,
2024-03-12 22:57:56 +01:00
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
},
ignorePatterns: [
'**/__mocks__/*.ts',
'src/platform/polyfills.ts',
2023-07-14 02:39:43 +02:00
'src/third-party',
'ios',
'android',
'coverage',
'*.lock',
'.husky',
'patches',
'bskyweb',
'*.html',
'bskyweb',
'src/locale/locales/_build/',
'src/locale/locales/**/*.js',
],
settings: {
componentWrapperFunctions: ['observer'],
},
2024-03-12 22:57:56 +01:00
parserOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
},
2022-06-09 20:03:25 +02:00
}