UNPKG

idna-uts46-hx

Version:

Convert Domain Names correctly from IDN to Punycode and vice-versa and offer TR46 processing.

24 lines (22 loc) 483 B
const globals = require('globals'); const recommended = require('@eslint/js').configs.recommended; module.exports = { ...recommended, languageOptions: { ecmaVersion: 2018, sourceType: 'module', globals: { ...globals.es6, ...globals.node, }, }, ...{ files: ['test/*.js'], languageOptions: { globals: { ...globals.mocha, }, }, }, ignores: ['dist', 'test/index.bundle.js', 'test/index.mjs', 'test/mocha.css'], };