Skip to content

Instantly share code, notes, and snippets.

@sharvit
Created March 4, 2019 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharvit/05b8f0c98623fecfa9cdbcca98524eec to your computer and use it in GitHub Desktop.
Save sharvit/05b8f0c98623fecfa9cdbcca98524eec to your computer and use it in GitHub Desktop.
.eslintrc file for foreman-plugins
{
"plugins": ["patternfly-react"],
"extends": ["plugin:patternfly-react/recommended"],
"rules": {
"prettier/prettier": ["error", {
"singleQuote": true,
"trailingComma": "es5"
}],
"import/no-unresolved": ["error", {
"ignore": ['foremanReact/.*']
}],
"import/extensions": ["error", {
"ignore": ['foremanReact/.*']
}],
},
"globals": {
"document": false,
"escape": false,
"navigator": false,
"unescape": false,
"window": false,
"$": true,
"_": true,
"__": true,
"n__": true,
"d3": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment