google / gts

☂️ TypeScript style guide, formatter, and linter.

Home Page:https://github.com/google/gts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'~/.eslintrc.*' deprecation warning

markhaslam opened this issue · comments

commented

Running npm run lint (which runs gts lint) on a new project that I ran npx gts init on is giving me the following deprecation warning:

version: 14
(node:10744) [ESLINT_PERSONAL_CONFIG_SUPPRESS] DeprecationWarning: '~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally. (found in "../.eslintrc.json")
(Use `node --trace-deprecation ...` to show where the warning was created)
commented

I don't know what I was thinking. I just had a .eslintrc.json in my home directory that I forgot I needed to delete.