UNPKG

eslint-config-neon

Version:

The ultimate ESLint shareable config

1 lines 834 B
{"version":3,"file":"browser.mjs","names":[],"sources":["../../src/browser.ts"],"sourcesContent":["import type { TSESLint } from '@typescript-eslint/utils';\nimport globals from 'globals';\n\nconst rules: TSESLint.FlatConfig.Rules = {\n\t'unicorn/prefer-dom-node-append': 2,\n\t'unicorn/prefer-dom-node-dataset': 2,\n\t'unicorn/prefer-dom-node-remove': 2,\n\t'unicorn/prefer-dom-node-text-content': 2,\n\t'unicorn/prefer-keyboard-event-key': 2,\n\t'unicorn/prefer-modern-dom-apis': 2,\n};\n\nconst config: TSESLint.FlatConfig.ConfigArray = [\n\t{\n\t\tlanguageOptions: {\n\t\t\tglobals: globals.browser,\n\t\t},\n\t\trules,\n\t},\n];\n\nexport default config;\n"],"mappings":";;;AAYA,MAAM,SAA0C,CAC/C;CACC,iBAAiB,EAChB,SAAS,QAAQ,QAClB;CACA;EAbD,kCAAkC;EAClC,mCAAmC;EACnC,kCAAkC;EAClC,wCAAwC;EACxC,qCAAqC;EACrC,kCAAkC;CAQ7B;AACL,CACD"}