Skip to content

Instantly share code, notes, and snippets.

@ramlmn ramlmn/.eslintrc
Last active Oct 29, 2018

Embed
What would you like to do?
ESLint configuration
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"rules": {
"max-len": [2, 100, {
"ignoreComments": true,
"ignoreUrls": true,
"tabWidth": 2
}],
"no-implicit-coercion": [2, {
"boolean": false,
"number": true,
"string": true
}],
"no-unused-expressions": [2, {
"allowShortCircuit": true,
"allowTernary": false
}],
"no-unused-vars": [2, {
"vars": "all",
"args": "after-used",
"argsIgnorePattern": "(^reject$|^_$)",
"varsIgnorePattern": "(^_$)"
}],
"quotes": [2, "single"],
"require-jsdoc": 0,
"valid-jsdoc": 0
}
}
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.