Created
November 1, 2017 02:49
-
-
Save cdolek/6b9753839fee6ac58a399d3c8e4d5fe3 to your computer and use it in GitHub Desktop.
Meteor eslintConfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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