Currently working on a small project using React.JS. Whenever I execute : npm run start
, the following message gets logged:
Starting type checking and linting service...
Using 1 worker with 2048MB memory limit
Watching: /Users/John/Projects/myProject/src
Starting the development server...
ts-loader: Using <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="27535e57425444554e57536715091e0915">[email protected]</a> and /Users/John/Projects/myProject/tsconfig.json
No valid rules have been specified for TypeScript files
Compiled successfully!
You can now view book-viewer-test in the browser.
Local: http://localhost:3000/
The highlighted line indicates the error. While everything seems to be functioning fine at the moment, there's concern about potential issues as the project grows in size and complexity.
Can someone help identify this Warning/Error and provide suggestions for resolution?
Below is the content of my tsconfig.json file:
{
"compilerOptions": {
"baseUrl": "./",
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
"lib": ["es7", "dom"],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"experimentalDecorators": true
},
"exclude": [
"node_modules",
"build",
"scripts",
"acceptance-tests",
"webpack",
"jest",
"src/setupTests.ts"
]
}
And here is the content of tslint.json file:
{
"jsRules": {
"no-empty": true
}
}
Your advice and help are greatly appreciated.