This commit breaks @fastly/lintly into @fastly/eslint-config and @fastly/prettier-config. In order to use eslint's extends syntax, the package name must be @fastly/eslint-config or @fastly/eslint-config-any-suffix. Since we have to break eslint config into its own repo, we may as well do so for prettier and any other linters we support.
The top-level project imports configuration from each of the child packages and runs all linters against all packages.
As a bonus, breaking the linter-configs up means that consuming applications won't see warnings about unmet peer dependencies if they don't use all of them.
This commit breaks
@fastly/lintly
into@fastly/eslint-config
and@fastly/prettier-config
. In order to use eslint'sextends
syntax, the package name must be@fastly/eslint-config
or@fastly/eslint-config-any-suffix
. Since we have to break eslint config into its own repo, we may as well do so for prettier and any other linters we support.The top-level project imports configuration from each of the child packages and runs all linters against all packages.
As a bonus, breaking the linter-configs up means that consuming applications won't see warnings about unmet peer dependencies if they don't use all of them.