UNPKG

eslint-config-neon

Version:

The ultimate ESLint shareable config

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