Files
Graphite/website/eslint.config.js
Keavon Chambers 45f0d21f25 Lint the website with the frontend's ESLint config instead of a separate copy, selecting elements by data attributes (#4655)
* Lint the website with the frontend's ESLint config instead of a diverging copy, selecting elements by data attributes

* Give the crate graph's marker attribute a value, cache npm in the website workflow, and mention installing the website's packages
2026-10-07 16:05:42 -07:00

17 lines
486 B
JavaScript

// The website follows the frontend's lint rules, checked by the ESLint the frontend installs
// eslint-disable-next-line no-restricted-imports, import/no-relative-packages -- The frontend's config is in another package, which isn't installed here
import frontendConfig from "../frontend/eslint.config.js";
export default [
...frontendConfig,
{
ignores: [
// Ignore generated directories
"public/",
"static/wasm/",
// Ignore vendored code
"static/*.js",
],
},
];