Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@eduzz/eslint-config
Advanced tools
Readme
Configuração padrão do eslint para os projetos da Eduzz.
Se está migrando do @eduzz/eslint-config-houston
altere as configurações do .eslintrc [extends]
para:
@eduzz/eslint-config-houston
>> @eduzz/eslint-config/react
@eduzz/eslint-config-houston/native
>> @eduzz/eslint-config/react-native
@eduzz/eslint-config-houston/node
>> @eduzz/eslint-config
Para configurar no padrão da Eduzz, primerio você deve adicionar as dependências, pois o eslint exige que plugins devem, ser adicionados no projeto principal
yarn add --dev @eduzz/eslint-config eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-eslint-plugin eslint-plugin-import eslint-plugin-prettier eslint-plugin-unused-imports prettier
// .eslintrc
{
"extends": ["@eduzz/eslint-config"]
}
// .prettierrc.js
module.exports = {
...require('@eduzz/eslint-config/.prettierrc')
};
yarn add --dev @eduzz/eslint-config eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-eslint-plugin eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-unused-imports prettier
// .eslintrc
{
"extends": ["@eduzz/eslint-config/react"]
}
// .prettierrc.js
module.exports = {
...require('@eduzz/eslint-config/.prettierrc')
};
yarn add --dev @eduzz/eslint-config eslint eslint-plugin-react-native @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-eslint-plugin eslint-plugin-import eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-unused-imports prettier
// .eslintrc
{
"extends": ["@eduzz/eslint-config/react-native"]
}
// .prettierrc.js
module.exports = {
...require('@eduzz/eslint-config/.prettierrc')
};
Adicione a extensão do ESLint. SUGERIMOS DESISTALAR OU DESATIVAR A EXTENSÃO DO PRETTIER POIS O ESLINT QUE APLICARÁ O PRETTIER.
Crie/Adicione no .vscode/settings.json (não na suas configurações, pois assim ficará no projeto e o time já terá acesso):
{
//... suas configurações
"editor.codeActionsOnSave": {
"source.organizeImports": false,
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false,
"editor.tabSize": 2
}
FAQs
Eduzz Eslint Config
The npm package @eduzz/eslint-config receives a total of 499 weekly downloads. As such, @eduzz/eslint-config popularity was classified as not popular.
We found that @eduzz/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.