26 lines
632 B
JSON
26 lines
632 B
JSON
{
|
|
"parser": "babel-eslint",
|
|
"extends": ["eslint:recommended", "plugin:node/recommended", "prettier"],
|
|
"env": {
|
|
"mocha": true
|
|
},
|
|
"plugins": ["prettier", "node"],
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": 2,
|
|
"node/no-unsupported-features/es-syntax": 0,
|
|
"node/no-unpublished-import": ["off"],
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"jsxBracketSameLine": true,
|
|
"printWidth": 80
|
|
}
|
|
]
|
|
}
|
|
}
|