Merge pull request #176 from earthiverse/date-functions

improve date functions
This commit is contained in:
Kaan Soral
2025-08-12 21:10:24 +03:00
committed by GitHub
2 changed files with 42 additions and 46 deletions
+23 -23
View File
@@ -1,25 +1,25 @@
{
"extends": ["eslint:recommended", "eslint-config-prettier"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 10
},
"plugins": ["prettier"],
"rules": {
"no-constant-condition": "off",
"no-dupe-else-if": "off",
"indent": "off",
"no-empty": "warn",
"no-inner-declarations": "warn",
"no-unreachable": "warn",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-redeclare": "warn",
"curly": "error",
"prettier/prettier": "error",
"one-var": ["error", "never"],
"no-sequences": "error"
}
"extends": ["eslint:recommended", "eslint-config-prettier"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2021
},
"plugins": ["prettier"],
"rules": {
"no-constant-condition": "off",
"no-dupe-else-if": "off",
"indent": "off",
"no-empty": "warn",
"no-inner-declarations": "warn",
"no-unreachable": "warn",
"no-undef": "warn",
"no-unused-vars": "warn",
"no-redeclare": "warn",
"curly": "error",
"prettier/prettier": "error",
"one-var": ["error", "never"],
"no-sequences": "error"
}
}