Files
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

35 lines
833 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"module": "Node16",
"moduleResolution": "node16",
"strict": true,
"allowJs": true,
"checkJs": true,
"noEmit": true,
"skipLibCheck": true,
"verbatimModuleSyntax": true,
"typeRoots": ["../frontend/node_modules/@types"],
"types": ["node"],
"lib": ["ESNext", "DOM", "DOM.Iterable"]
},
"include": [
// TypeScript and JSDoc-typed JavaScript files
"**/*.ts",
"**/*.js",
// Also include build scripts, which aren't included above because of the dot-prefixed directory
".build-scripts/**/*.ts",
".build-scripts/**/*.js"
],
"exclude": [
// Ignore generated directories
"node_modules",
"public",
"static/wasm",
// Ignore vendored code
"static/*.js",
// Ignore the lint config, which brings in the frontend's untyped one
"eslint.config.js"
]
}