-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
42 lines (41 loc) · 1.05 KB
/
.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
35
36
37
38
39
40
41
42
/*
* File: .eslintrc.js
* Project: @inventures/react-lib
* File Created: Monday, 20th July 2020 2:46:10 pm
* Author: Gabriel Ulloa ([email protected])
* -----
* Last Modified: Monday, 2nd August 2021 1:59:02 pm
* Modified By: Gabriel Ulloa ([email protected])
* -----
* Copyright 2019 - 2020 Incrementa Ventures SpA. ALL RIGHTS RESERVED
* Terms and conditions defined in license.txt
* -----
* Inventures - www.inventures.cl
*/
module.exports = {
parser: '@typescript-eslint/parser',
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended',
'plugin:react-hooks/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
'react/prop-types': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-function': 'off',
},
settings: {
react: {
version: 'detect', // para detectar la versión de reactjs
},
},
};