back-projet-bUT3/.eslintrc

26 lines
763 B
Plaintext
Raw Permalink Normal View History

2024-01-28 14:31:51 +01:00
{
"env": {
"node": true,
"es6": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": "latest"
},
"extends": ["eslint:recommended", "plugin:node/recommended"],
"parser": "@babel/eslint-parser",
"rules": {
"node/exports-style": ["error", "module.exports"],
"node/file-extension-in-import": ["error", "always"],
"node/prefer-global/buffer": ["error", "always"],
"node/prefer-global/console": ["error", "always"],
"node/prefer-global/process": ["error", "always"],
"node/prefer-global/url-search-params": ["error", "always"],
"node/prefer-global/url": ["error", "always"],
"node/prefer-promises/dns": "error",
"node/prefer-promises/fs": "error",
"no-console": "warn"
}
}