Comments (4)
I'd do it like this:
extends: [
require.resolve('eslint/conf/recommended'),
require.resolve('eslint-plugin-flowtype/dist/configs/recommended.json'),
// etc...
]
Good luck!
from kcd-scripts.
@kentcdodds, thanks for the quick reply!
Any thoughts on that second question (pulling those multiple config files into my toolkit)?
from kcd-scripts.
You could use the overrides
feature of eslint, but that doesn't allow for extends
which is super annoying. But I've done that before.
You could also just require that people add an .eslintrc
which does: extends: "your-module/eslint-server"
for example.
from kcd-scripts.
yeah, adding the extends sounds like it might be the most feasible way to go.
Thanks again!
from kcd-scripts.
Related Issues (20)
- 6.1.0 seems to have a regression HOT 1
- High-level visibility of configurations HOT 2
- The automated release is failing 🚨
- The automated release is failing 🚨
- ReactDOM is misspelled as ReactDom in UMD files HOT 1
- Babel removes test files from src directory after building HOT 1
- Environment key "jest/globals" is unknown HOT 1
- babel-plugin-minify-dead-code-elimination removes function names HOT 2
- [pre-commit]: test step hangs due to --watch HOT 2
- tsconfig conflicts with build HOT 1
- ESLint fails on Node 15 HOT 4
- fix linting issues on windows HOT 2
- Incorrect `latest` version tag in NPM HOT 1
- Validate script fails on window-latest 14
- eslint is looking inside the folders coverage
- istanbul ignore else HOT 4
- bug: ESLint cannot be imported in Jest 27 HOT 1
- [Feature Request] Pin `browserslist` and `caniuse-lite` HOT 4
- New alternative HOT 1
- upgrade rollup to the latest version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kcd-scripts.