
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@eduzz/eslint-config
Advanced tools
Configuração padrão do eslint para os projetos da Eduzz.
yarn add --dev @eduzz/eslint-config
eslint.config.jsconst { ignores, configs } = require('@eduzz/eslint-config'); // Javascript / Typescript / Node
const { ignores, configs } = require('@eduzz/eslint-config/react'); // React
const { ignores, configs } = require('@eduzz/eslint-config/react-native'); // React Native
/** @type import('eslint').Linter.Config[] */
module.exports = [...configs, { ignores: ignores() }];
.prettierrc.jsmodule.exports = {
...require('@eduzz/eslint-config/.prettierrc')
};
Por padrĂŁo todos os arquivos do .gitignore jĂĄ sĂŁo removidos, caso queira adicionar mais:
/** @type import('eslint').Linter.Config[] */
module.exports = [...configs, { ignores: ignores('**/ignore/**.js', 'ignore.js') }];
Caso queira adicionar/remover alguma rule basta adicionar rules na Ășltima config:
/** @type import('eslint').Linter.Config[] */
module.exports = [
...configs,
{
ignores: ignores(),
rules: {
'@typescript-eslint/no-unused-vars': ['off']
}
}
];
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 486 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 7 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authoritiesâ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socketâs new workflow scanning support.