This commit integrates ESLint support to enhance code quality through linting within the VSCode environment. It includes all necessary config files and `package.json` with required dependencies to enable seamless use of the ESLint extension in VSCode, facilitating easier development.
20 lines
925 B
JSON
20 lines
925 B
JSON
{
|
|
/* File : jsconfig.json */
|
|
/* Purpose: Provides IntelliSense and logical type-checking for VSCode */
|
|
|
|
|
|
"compilerOptions": {
|
|
"checkJs": true, /* Enable type-checking for JS files */
|
|
"module": "ESNext", /* Use modern import/export module syntax */
|
|
"moduleResolution": "Bundler", /* Resolve modules for Vite/Webpack/Rollup*/
|
|
"target": "ES2020", /* Set language level for IntelliSense */
|
|
"strict": true, /* Enable all strict type-checking rules */
|
|
"strictNullChecks": true, /* Prevent errors on null/undefined values*/
|
|
"strictFunctionTypes": true /* Ensure function parameters match types */
|
|
},
|
|
"exclude": [
|
|
"node_modules", /* Skip indexing of Node.js dependencies */
|
|
"**/node_modules/*" /* Ignore all nested Node.js library files*/
|
|
]
|
|
}
|