Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import pluginJsxA11y from "eslint-plugin-jsx-a11y";
import { defineConfig, globalIgnores } from "@eslint/config-helpers";

export default defineConfig([
globalIgnores(["**/*.config.js", "build/**"]),

pluginJs.configs.recommended,
...tseslint.configs.recommended,
tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
pluginReactHooks.configs.flat.recommended,
{
files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"],
plugins: {
react: pluginReact,
"react-hooks": pluginReactHooks,
"jsx-a11y": pluginJsxA11y,
},
languageOptions: {
Expand All @@ -35,5 +35,4 @@ export default defineConfig([
},
},
},
globalIgnores(["**/*.config.js", "build/**"]),
]);
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "eslint-code-explorer",
"version": "0.1.0",
"private": true,
"description": "A tool that visualizes JS and TS code structure and scope using ESLint's scope analysis.",
"repository": "eslint/code-explorer",
Expand All @@ -18,7 +17,7 @@
"fmt:check": "prettier --check ."
},
"lint-staged": {
"**/*.{ts,tsx,jsx,js}": [
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
Expand Down
4 changes: 1 addition & 3 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/** @type {import('postcss-load-config').Config} */
const config = {
export default {
plugins: {
tailwindcss: {},
},
};

export default config;
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import tailwindcssAnimate from "tailwindcss-animate";
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: ["./{pages,components,app,src}/**/*.{ts,tsx}"],
content: ["./src/**/*.{ts,tsx}"],
theme: {
container: {
center: true,
Expand Down