.eslintrc.mjs (494B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 export default [ 6 { 7 // eslint-plugin-html doesn't automatically detect module sections in 8 // html files. Enable these as a module here. JavaScript files can use 9 // the mjs extension. 10 files: ["**/*.html"], 11 languageOptions: { 12 sourceType: "module", 13 }, 14 }, 15 ];