diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..5e4017b --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,18 @@ +const js = require('@eslint/js'); +const eslintConfigPrettier = require('eslint-config-prettier'); + +module.exports = [ + { + ignores: ['src/parser.js'], + }, + js.configs.recommended, + eslintConfigPrettier, + { + languageOptions: { + sourceType: 'commonjs', + }, + rules: { + curly: 'error', + }, + }, +];