maptest-bot/eslint.config.mjs
Carter Penterman 3a167cf686
Some checks failed
continuous-integration/drone/push Build is failing
Parse map models and validate them (#13)
The enhancements:
- Added map validation that checks for some common errors that maps have
- /take: Does map validation but will still take the map even if there are problems
- /take: Improved the help text and added links to the maptest places
- /submit: Does map validation and will not let you submit if there are problems
- /submissions: Now shows the map's display name and creator
- Added an ESLint config and tidied some things up
- Updated some of the packages

Reviewed-on: #13
Co-authored-by: Carter Penterman <carterpenterman@gmail.com>
Co-committed-by: Carter Penterman <carterpenterman@gmail.com>
2024-04-24 06:28:07 +00:00

15 lines
351 B
JavaScript

import globals from "globals";
import pluginJs from "@eslint/js";
export default [
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
{
rules: {
"no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
"semi": "error"
}
}
];