luizalabs / gandalf-lint Goto Github PK
View Code? Open in Web Editor NEWBad Code Shall Not Pass
Home Page: https://www.npmjs.com/package/@softboxlab/eslint-config-gandalf-lint
License: MIT License
Bad Code Shall Not Pass
Home Page: https://www.npmjs.com/package/@softboxlab/eslint-config-gandalf-lint
License: MIT License
lines-between-class-members
I think this rule was working on this project, but doesn't work anymore.
Could this be re-added (or added)?
"comma-dangle": [ "error", "always-multiline" ],
I'd like to have back this rule, because in git projects, it points a modification on a specific line, just because of the insertion of the comma.
I strongly recommend separating gandalf-lint in three projects:
Now that we have gandalf-lint-node I've been thinking in moving eslint-plugin-node from here to gandalf-lint-node.
What do you think?
Hi SofBoxLab team, this is a great code, thats for sharing.
Can you please clarify license for this repo? Hopefully MIT?
"max-params": ["error", 3],
Limita o máximo de parâmetros na função, forçando funções que tiverem mais parâmetros a serem tratadas como objects.
Voltar com o "comma-dangle": [ "error", "always-multiline" ],
A regra abaixo está conflituando com o react-i18next
.
Ele possui um HOC que injeta uma propriedade chamada t()
. E com isso, a linha dá erro no id-length do eslint.
"max-params": ["error", 3],
Limits the maximum number of parameter of a function, forcing functions that have more than 3 parameters, to be treated as a json object.
some companies use this rule.
Last ESLint updates changed some settings and now we have this warning related to Standard config:
(node:5933) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "node_modules/eslint-config-standard/index.js")
Maybe a dependencies update will solve it, community is already tracking this warning status:
No projeto Juggernaut nós sentimos a falta de uma documentação com as regras que são utilizadas no gandalf-lint, para decidirmos se ele realmente funcionaria para nós.
É possível criar uma documentação assim?
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.