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

34 lines
511 B
JavaScript
Raw Normal View History

2022-06-23 00:32:51 +08:00
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",
}
]
},
};