Hospital-Management-System/server/.eslintrc.json

27 lines
632 B
JSON
Raw Normal View History

2021-03-31 01:50:36 +00:00
{
"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
}
]
}
}