Skip to content

Instantly share code, notes, and snippets.

@brunoventura
Last active September 10, 2016 01:05
Show Gist options
  • Save brunoventura/b9dd1d1bfb89994ebafc0330fe286f4a to your computer and use it in GitHub Desktop.
Save brunoventura/b9dd1d1bfb89994ebafc0330fe286f4a to your computer and use it in GitHub Desktop.
{
"env": {
"mocha": true
},
"parserOptions": {
"sourceType": "script"
},
"globals": {
"chubaca": true,
"expect": true,
"sinon": true,
"sqs": true,
"proxyquire": true,
"Bluebird": true,
"dynamo": true,
"fixtures": true,
"doneAsync": true
},
"extends": "airbnb-base",
"plugins": [
"filenames"
],
"rules": {
"arrow-parens": [
"error",
"as-needed"
],
"comma-dangle": [
"error",
"never"
],
"filenames/match-regex": [
"error",
"^[a-z0-9-.]+$"
],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"import/newline-after-import": [
"off"
],
"indent": [
"error",
4
],
"max-len": [
"error",
120
],
"no-console": [
"error"
],
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": true
}
],
"prefer-rest-params": [
"off"
],
"prefer-spread": [
"off"
],
"quote-props": [
"error",
"consistent-as-needed"
],
"space-before-function-paren": [
"error",
"never"
]
}
}
{
"devDependencies": {
"eslint": "^3.2.0",
"eslint-config-airbnb-base": "^5.0.1",
"eslint-config-standard": "^5.3.5",
"eslint-plugin-filenames": "^1.1.0",
"eslint-plugin-import": "^1.12.0",
"eslint-plugin-promise": "^2.0.0",
"eslint-plugin-standard": "^2.0.0",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment