akf-forum/.eslintrc.json

27 lines
482 B
JSON
Raw Normal View History

2023-03-19 17:14:33 +03:00
{
2023-05-08 17:16:12 +03:00
"ignorePatterns": [
"test.js"
],
2023-03-19 17:14:33 +03:00
"env": {
"node": true,
"commonjs": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
2023-05-08 17:16:12 +03:00
"no-use-before-define": "error"
},
"overrides": [
{
"env": {
"browser": true
},
"files": [
"public/**"
2023-05-08 17:16:12 +03:00
]
}
]
}