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
35 lines
833 B
JSON
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"
|
|
]
|
|
}
|