markelog on master
Tests: handle error messages wi… (compare)
package.json
you can use same thing{
"jscsConfig": {
"preset": "your-config"
}
}
Awesome, and the present name, would I need to use jscs-config-10up
or 10up
? I’m okay with either, just asking what the preference is because
You can also omit the eslint-config- and it will be automatically assumed by ESLint (cite)
jscs-
, jscs-config-
,jscs-preset-
would work
package.json
:"scripts": {
"test": "jscs test.js"
}
{
"extends": "airbnb",
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true,
},
"ecmaFeatures": {
"jsx": true,
"es6": true,
"classes": true,
},
"rules": {
"comma-dangle": [1, "always-multiline"],
"max-len": [1, 180, 4],
"arrow-body-style": [0],
},
}