UNPKG

eslint-config-neon

Version:

The ultimate ESLint shareable config

24 lines (22 loc) 592 B
import * as astroParser from "astro-eslint-parser"; import astroPlugin from "eslint-plugin-astro"; //#region src/astro.ts const config = [ { languageOptions: { globals: astroPlugin.environments.astro.globals, parserOptions: { extraFileExtensions: [".astro"] } } }, { languageOptions: { parser: astroParser }, plugins: { astro: astroPlugin }, rules: { "react/jsx-key": 0, "react/no-unknown-property": 0, "react/self-closing-comp": 0 } }, { files: ["**/*.astro/*.js", "*.astro/*.js"] } ]; //#endregion export { config as default }; //# sourceMappingURL=astro.mjs.map