forked from beda-software/aidbox-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
34 lines (34 loc) · 1006 Bytes
/
.eslintrc.js
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
29
30
31
32
33
34
module.exports = {
env: {
'jest/globals': true,
browser: true,
},
globals: {
RequestInfo: 'readonly',
RequestInit: 'readonly',
},
root: true,
extends: ['prettier'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'jest', 'import'],
rules: {
'react-native/no-inline-styles': 0,
'prettier/prettier': 0,
'import/order': [
'error',
{
groups: ['builtin', 'external', 'internal', ['index', 'sibling', 'parent']],
'newlines-between': 'always',
pathGroupsExcludedImportTypes: ['builtin'],
alphabetize: { order: 'asc', caseInsensitive: true },
pathGroups: [
{
pattern: '@beda.software/**',
group: 'external',
position: 'after',
},
],
},
],
},
};