简体   繁体   中英

should i write jsconfig.json or tsconfig.json in .gitignore file?

i have to use jsconfig file in my project, jsconfig file looks like that:

{
    "compilerOptions": {
        "baseUrl": ".",
        "paths": {
            "*": [
                "src/*"
            ],
            "test/*": [
                "test/*"
            ]
        }
    }
}

in nodejs or any front end project, should we ignore jsconfig.json or tsconfig.json in .gitignore file? what is the best practice for that?

您应该将配置文件保留在代码存储库中,以便您或其他人克隆您的项目时,可以使用您现在使用的相同配置运行它

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM