# run linter
> yarn lint
$ eslint .
/Users/dm/github/CommonGarden/Grow-IoT/packages/graphql-api/node_modules/cors/.eslintrc:
Configuration for rule "quotes" is invalid:
Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"single"').
Error: /Users/dm/github/CommonGarden/Grow-IoT/packages/graphql-api/node_modules/cors/.eslintrc:
Configuration for rule "quotes" is invalid:
Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '"single"').
# the bigger fish to fry
(node:9169) DeprecationWarning: [eslint] The 'ecmaFeatures' config file property is deprecated, and has no effect. (found in /Users/dm/github/CommonGarden/Grow-IoT/.eslintrc)
Improvement plan
Update eslint in devDependencies, port/replace existing configuration to follow newer practices.
The
.eslintrc
file is pretty out of date.Improvement plan
eslint
in devDependencies, port/replace existing configuration to follow newer practices.(or) 2. Switch to
prettier
.