1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00
hack-chat-main/.eslintrc.cjs
2022-06-22 11:32:51 -05:00

34 lines
511 B
JavaScript

module.exports = {
env: {
es2021: true,
node: true,
},
extends: [
'airbnb-base',
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
"no-console": 0,
"no-param-reassign": [
"error",
{
"props": false,
}
],
"import/extensions": [
"error",
"ignorePackages",
{
js: "always",
jsx: "always",
ts: "always",
tsx: "always",
mjs: "always",
}
]
},
};