teachiq / eslint-config Goto Github PK
View Code? Open in Web Editor NEWThe official Teachiq eslint config
The official Teachiq eslint config
Ts linting config needs adjusting.
Consider to make different installations depending on project type
I followed the guide in the README and had to add two settings to .vscode/settings.json
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
Though, when saving it looks like it first formats correctly (with standard-js) but then adds semi-colons (probably air-bnb). Am I missing some settings?
This discussion is preventive, not triggered by anything specific.
I noticed this, and a few other, repositories are public. There is of course nothing secret here but it's very easy to forget about the publicity during discussions and issue-comments, so we have to be careful about what we mention, to not add any personal data, details of ongoing projects etc.
The pros of keeping it public is free access to CI tools and similar services, for package publishing, and possibly as "marketing". I absolutely think we can keep it public, but we should have a short internal discussion to ensure everyone is aware of this.
Today we build each util as a separate module in order to guarantee that it's possible to import only the utils that we need without relying on opaque tree-shaking processes in build tools.
In order to get nice imports like ย import x from @Teachiq/utils/x
as well as avoid clutter in the root directory of the project, we're forced to do the following since npm (package.json) doesn't have a great interface for structure the package contents:
lib
directorynpm publish
, where package.json is set to point at each module at the root (see the files
option)lib
to avoid clutter in the root directoryThis requires a whole lot of setting up if a new type of utility module is to be added, which may be a large time sink.
My suggestions to solve this:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.