GT2/GT2-iOS/node_modules/react-native-safe-module/.eslintrc

39 lines
946 B
Plaintext

{
"extends": "airbnb",
"env": {
"node": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"modules": true,
"experimentalObjectRestSpread": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"rules": {
// Allow console methods, which get removed during build process
"no-console": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"new-cap": 0,
// triple equals is required except for when comparing with null
"eqeqeq": [1, "allow-null"]
},
"globals": {
"__DEV__": true
}
}