0.1.5 • Published 5 years ago
@live/eslint-config v0.1.5
@live/eslint-config
Notes
Seems like eslint-import-resolver-babel-module peer depends on babel-plugin-module-resolver.
Supporting TS and JS in same codebase.
https://github.com/typescript-eslint/typescript-eslint/issues/109
Debugging ESLint and IntelliJ
Add the following line and change the ESLint IntelliJ settings back and forth to force a re-init.
require('fs').writeFileSync('/tmp/intellij-js', JSON.stringify({xxx}, null, 2))Shareable configs
- Resolved relative to the config file.
- If you use
package.json#eslintConfig.extendsthen it will resolve from where that extends points to. Butmodule.exports = require(...)won't work.