Skip to content

Instantly share code, notes, and snippets.

@fantasywind
Last active June 30, 2016 08:48
Show Gist options
  • Save fantasywind/e00c327f378267cda100c4ac91a43941 to your computer and use it in GitHub Desktop.
Save fantasywind/e00c327f378267cda100c4ac91a43941 to your computer and use it in GitHub Desktop.
Rytass ES6 ESLint
{
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
}
},
"plugins": [
"react",
],
"globals": {
},
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"no-alert": [0],
"max-len": [2, {
"code": 120,
}],
"react/jsx-closing-bracket-location": [2, {
"nonEmpty": "after-props",
"selfClosing": "after-props",
}],
"new-cap": [2, {
"capIsNewExceptions": [
"Sequelize.ENUM",
],
}],
"no-param-reassign": [2, {
"props": false,
}],
"comma-dangle": [2, "always-multiline"],
},
"settings": {
"react": {
"pragma": "React",
"version": "0.15.1",
},
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment