Closed jamesarosen closed 6 years ago
@kyleshevlin I just tried this in fastly-auth.js.
extends: ['@fastly/lintly/eslint-config'],
causes eslint to complain:
Cannot find module '@fastly/eslint-config-lintly/eslint-config' Referenced from: /Users/jamesrosen/Code/fastly-auth.js/.eslintrc.js
So we might have to go mono-repo after all.
From the eslint docs:
when using scoped modules it is not possible to omit the eslint-config- prefix
On the other hand, consuming applications could import the eslint config just like the prettier config:
// my-app/.eslintrc.js import lintlyConfig from '@fastly/lintly/eslint-config' export default Object.assign({}, lintlyConfig, { root: true, ... })
@kyleshevlin I just tried this in fastly-auth.js.
causes eslint to complain:
So we might have to go mono-repo after all.
From the eslint docs:
On the other hand, consuming applications could import the eslint config just like the prettier config: