sevenval / frontend-configs Goto Github PK
View Code? Open in Web Editor NEWVarious configuration files for frontend tools
License: MIT License
Various configuration files for frontend tools
License: MIT License
This warning is thrown
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration
Input from @marvinhagemeister "... if applicable, we could fix this directly in the preset ..."
See: palantir/tslint#4534
TSLint will be deprecated, ESLint will succeed TSLint for TS linting.
Equivalent ESLint configs should be created to enable a smooth transition.
As of now, installing e.g. sevenval-config-eslint via npm does not throw a deprecation warning. It would be good to have a warning that informs about the superseding packages.
Installation as documented:
$ npm install --save-dev eslint eslint-config-sevenval
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
+ [email protected]
+ [email protected]
added 207 packages from 142 contributors and audited 451 packages in 20.981s
found 0 vulnerabilities
It is not possible to lint your files with this config without having the peer dependencies installed:
$ eslint foo.js
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/yannickcr/eslint-plugin-react#configuration.
I guess it is a good idea to remove the peer dependencies.
trailing commas on function signatures are not spec conform whereas the ie11 throws a syntax error when it finds that. this will work only if a babel pre-processor is used for building applications, which then in return removes the trailing commas.
in my opinion it would make more sense to set this option to "es5" which sets the trailing comma only for objects and arrays but keeps the function signature clean.
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.