mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-01 07:24:56 -10:00
* 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
17 lines
486 B
JavaScript
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",
|
|
],
|
|
},
|
|
];
|