Skip to content

Instantly share code, notes, and snippets.

@rakannimer
Created October 20, 2016 12:35
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 rakannimer/19b5d622e055c3c288df6e547e26ce9b to your computer and use it in GitHub Desktop.
Save rakannimer/19b5d622e055c3c288df6e547e26ce9b to your computer and use it in GitHub Desktop.
My eslint
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
},
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"import/prefer-default-export": "off",
"no-bitwise": "off",
"react/prop-types": "off",
"react/prefer-stateless-function": "off",
"jsx-a11y/no-static-element-interactions": off
}
}
@rakannimer
Copy link
Author

(
export PKG=eslint-config-airbnb;
npm info "$PKG" peerDependencies --json | command sed 's/[{},]//g ; s/: /@/g' | xargs yarn add --dev "$PKG"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment