Skip to content

Instantly share code, notes, and snippets.

@gHashTag
Last active April 27, 2017 04:32
Show Gist options
  • Save gHashTag/86fcdba397e3d9dfc8458c886f2ad40e to your computer and use it in GitHub Desktop.
Save gHashTag/86fcdba397e3d9dfc8458c886f2ad40e to your computer and use it in GitHub Desktop.
{
"extends" : "airbnb",
"parser" : "babel-eslint",
"parserOptions" : {
"ecmaVersion" : 6,
"sourceType" : "module",
"ecmaFeatures" : {
"jsx": true,
"modules": true,
}
},
"env": {
"browser" : true,
"node" : true,
"jquery" : true,
},
"settings":{
"react":{
"pragma":"React",
"version":"15.1.0"
},
"ecmascript":6,
"jsx":true
},
"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": 0,
"react/jsx-filename-extension": 0
"react/prefer-stateless-function": 0,
"strict": 0,
"quotes": 0,
"no-unused-vars": 1,
"camelcase": 1,
"no-underscore-dangle": 1,
"comma-dangle":[1,"never"],
"indent":["error",4],
"react/jsx-indent":0,
"react/jsx-equals-spacing": [2, "never"],
"no-use-before-define": ["error", { "variables": false }],
"semi": ["error", "never"],
"arrow-body-style": 0,
"no-console": 0,
"max-len": 1,
"no-param-reassign": 1,
"no-multi-spaces": [
2,
{
"exceptions":{
"VariableDeclarator":true,
"ImportDeclaration":true,
"JSXAttribute":true,
"AssignmentExpression":true
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment