Skip to content

Instantly share code, notes, and snippets.

@steve-ross steve-ross/.eslintrc
Created Jan 17, 2018

Embed
What would you like to do?
eslint meteor react
{
"env": {
"es6": true,
"node": true,
"jquery": true
},
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"@meteorjs/eslint-config-meteor",
"prettier",
"prettier/react",
"plugin:import/errors"
],
"plugins": [
"meteor",
"prettier",
"react",
"import"
],
"settings": {
"import/resolver": {
"meteor": {
"extensions": [
".js", ".jsx"
]
}
}
},
"rules": {
"prettier/prettier": ["error", "fb"],
"react/no-unescaped-entities": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js",".jsx"] }]
},
"globals": {
"window": true,
"document": true,
"fetch": false
,"__DEV__": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.