mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
988a1c9e9a
This updates balena lint to the latest version to enable eslint support and unblock Typescript updates. This is a huge number of changes as the linting rules are much more strict now, requiring modifiying most files in the codebase. This commit also bumps the test dependency `rewire` as that was interfering with the update of balena-lint Change-type: patch
38 lines
721 B
JSON
38 lines
721 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"target": "ES2022",
|
|
"module": "commonjs",
|
|
"moduleResolution": "Node16",
|
|
"strict": true,
|
|
"strictFunctionTypes": false,
|
|
"strictPropertyInitialization": false,
|
|
"preserveConstEnums": true,
|
|
"inlineSourceMap": true,
|
|
"outDir": "./build/",
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true,
|
|
"allowJs": true,
|
|
"paths": {
|
|
"~/src/*": [
|
|
"src/*"
|
|
],
|
|
"~/lib/*": [
|
|
"src/lib/*"
|
|
],
|
|
"~/test-lib/*": [
|
|
"test/lib/*"
|
|
],
|
|
"~/test-data/*": [
|
|
"test/data/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"test/**/*",
|
|
"typings/**/*.d.ts",
|
|
"build-utils/**/*"
|
|
]
|
|
}
|