Skip to content

Instantly share code, notes, and snippets.

@wmdmark
Created May 23, 2017 15:00
Show Gist options
  • Save wmdmark/d625f14f6a22d03460577961602d10f0 to your computer and use it in GitHub Desktop.
Save wmdmark/d625f14f6a22d03460577961602d10f0 to your computer and use it in GitHub Desktop.
Pathwright ESLint
{
"parser": "babel-eslint",
"extends": "airbnb",
"rules": {
"no-nested-ternary": 0,
"no-confusing-arrow": 0,
"no-use-before-define": 0,
"no-underscore-dangle": 0,
"no-mixed-operators": 0,
"camelcase": 0,
"import/no-dynamic-require": 0,
"quotes": [
2,
"double"
],
"linebreak-style": [
2,
"unix"
],
"no-unused-vars": [2, {
"vars": "all",
"args": "after-used",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}],
"semi": [
2,
"never"
],
"no-console" : 0,
"id-length": [2, {
"min": 2,
"exceptions": ["x","v","T"],
}],
},
"env": {
"es6": true,
"node": true,
"jest" : true,
},
"ecmaFeatures": {
"classes": true,
"modules": true,
},
"plugins": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment