fastly / lintly

Fastly's front-end style-guide with configuration for eslint, tslint, stylelint, and more
1 stars 1 forks source link

switch to a monorepo #3

Closed jamesarosen closed 6 years ago

jamesarosen commented 6 years ago

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.