akf-forum/.eslintrc.json

27 lines
488 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": [
2023-05-25 17:58:47 +03:00
"src/public/js/*"
2023-05-08 17:16:12 +03:00
]
}
]
}