Refactor job list
This commit is contained in:
24
.eslintrc.js
Normal file
24
.eslintrc.js
Normal file
@@ -0,0 +1,24 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
"react-native/react-native": true,
|
||||
},
|
||||
extends: ["eslint:recommended", "plugin:react/recommended"],
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
ecmaVersion: 12,
|
||||
sourceType: "module",
|
||||
},
|
||||
plugins: ["react", "react-native"],
|
||||
rules: {
|
||||
"react-native/no-unused-styles": 2,
|
||||
"react-native/split-platform-components": 2,
|
||||
//"react-native/no-inline-styles": 2,
|
||||
"react-native/no-color-literals": 2,
|
||||
"react-native/no-raw-text": 2,
|
||||
"react/prop-types": 0,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user