Skip to content

Instantly share code, notes, and snippets.

@cdolek
Created November 1, 2017 02:49
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 cdolek/6b9753839fee6ac58a399d3c8e4d5fe3 to your computer and use it in GitHub Desktop.
Save cdolek/6b9753839fee6ac58a399d3c8e4d5fe3 to your computer and use it in GitHub Desktop.
Meteor eslintConfig
"eslintConfig": {
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"plugins": ["meteor", "react"],
"extends": [
"airbnb",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"env": {
"browser": true
},
"globals": {
"expect": false
},
"settings": {
"import/resolver": "meteor"
},
"rules": {
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"object-curly-spacing": ["error", "always"],
"no-console": 0,
"no-alert": 0,
"no-underscore-dangle": [
"error",
{
"allow": [
"_id",
"_ensureIndex",
"_verifyEmailToken",
"_resetPasswordToken",
"_name"
]
}
],
"class-methods-use-this": 0,
"react/jsx-filename-extension": 0,
"react/forbid-prop-types": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment