Skip to content

Instantly share code, notes, and snippets.

@douglaszaltron
Created April 10, 2020 11:30
Show Gist options
  • Save douglaszaltron/fa8f6e0711167b311b1a8d6acba09afc to your computer and use it in GitHub Desktop.
Save douglaszaltron/fa8f6e0711167b311b1a8d6acba09afc to your computer and use it in GitHub Desktop.
{
"extends": [
"@softboxlab/eslint-config-gandalf-lint-react"
],
"rules": {
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"alphabetize": {
"order": "asc",
"caseInsensitive": true
},
"newlines-between": "never"
}
],
"sort-imports": [
"error",
{
"ignoreCase": true,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false
}
]
},
"parser": "babel-eslint",
"settings": {
"react": {
"version": "16.8.2"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment