```WARNING: You are currently running a version of...
# sst

Question

How can I disable linting in my TypeScript project using @typescript-eslint and sst.json?

Answer

To disable linting, you can add "lint": false in your sst.json file. It is also recommended to use a supported version of TypeScript (currently >=3.3.1 and <4.1.0) with @typescript-eslint to avoid potential issues.

t
Copy code
WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.1.0

YOUR TYPESCRIPT VERSION: 4.1.5

Please only submit bug reports when using the officially supported version.
f
Yeah, we are thinking of adding an option to disable linting entirely.
Let me talk to the team in a bit and get back to you.
t
awesome thanks!
f
@thdxr quick update.. we are working on the disable linting option. I will try to have something by later today. I will keep you posted.
t
awesome!
f
Just released v0.9.4 with the ability to turn off lint. Also updated the
typescript-eslint
version to fix the above warning - https://twitter.com/ServerlessStack/status/1362151402437492745
To turn off lint, add
"lint": false
in your
sst.json
t
sweet thanks!
561 Views