eslint.config.js

nanobrowser · eslint.config.js · javascript · Apache-2.0
ui

ESLint configuration file with rules, plugins, and import restrictions for a browser extension.

// Source: https://github.com/nanobrowser/nanobrowser | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import js from '@eslint/js';
import tsPlugin from '@typescript-eslint/eslint-plugin';
import prettier from 'eslint-config-prettier/flat';
import importPlugin from 'eslint-plugin-import';
import jsxA11y from 'eslint-plugin-jsx-a11y';
import react from 'eslint-plugin-react';
import reactHooks from 'eslint-plugin-react-hooks';
import tailwindcss from 'eslint-plugin-tailwindcss';

export default [
  {
    ignores: ['dist/**', '.wxt/**', '.output/**', 'fixtures/**', '**/*.{js,mjs,cjs,jsx,mts,cts}'],
  },
  js.configs.recommended,
  react.configs.flat.recommended,
  ...tsPlugin.configs[

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key