-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy path.eslintrc.js
24 lines (24 loc) · 816 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
/** @type {import('@alkafinance/eslint-config/eslint').ESLintConfig} */
module.exports = {
extends: [
'@alkafinance/eslint-config',
'@alkafinance/eslint-config-typescript',
'@alkafinance/eslint-config-react/native',
'@alkafinance/eslint-config-typescript/react-native',
],
rules: {
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin
'@typescript-eslint/no-magic-numbers': 'off',
// https://github.com/benmosher/eslint-plugin-import
'import/extensions': 'off',
'import/no-unresolved': 'off',
// https://github.com/Intellicode/eslint-plugin-react-native
'react-native/no-color-literals': 'off',
},
overrides: [
{
files: ['*.js', '**/.*.js'],
...require('@alkafinance/eslint-config/script'),
},
],
};