Skip to content

Instantly share code, notes, and snippets.

@miguelcostero
Forked from remy/.eslintignore
Created October 12, 2018 21:29
Show Gist options
  • Save miguelcostero/c473def0d132e8613d50e60f33ee619a to your computer and use it in GitHub Desktop.
Save miguelcostero/c473def0d132e8613d50e60f33ee619a to your computer and use it in GitHub Desktop.
My Next.js eslint config + `npm install --save-dev eslint eslint-config-airbnb eslint-plugin-react`
{
"env": {
"browser": true,
"es6": true,
"commonjs": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/prop-types": 0,
"react/jsx-uses-vars": [2]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment