diff --git a/eslint.config.mjs b/eslint.config.mjs index 4cdef58..c9ea44a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,7 +10,17 @@ const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); const compat = new FlatCompat({baseDirectory: __dirname, recommendedConfig: pluginJs.configs.recommended}); +// Add additional language options and rules here +const additionalConfig = { + rules: { + 'no-console': 'off', // This disables the 'no-console' rule + 'import/no-named-as-default-member': 'off', // Disables the named as default member rule + 'max-len': ['error', { code: 100, ignoreComments: true }], // Allow code lines of up to 100 characters, ignoring comments + }, +}; + export default [ - {languageOptions: { globals: globals.browser }}, + { languageOptions: { globals: globals.browser }}, ...compat.extends("airbnb-base"), + additionalConfig, ]; \ No newline at end of file