https://github.com/tecsinapse/eslint-config
ESLint configurations used by TecSinapse for JavaScript projects
https://github.com/tecsinapse/eslint-config
eslint eslint-config
Last synced: 2 months ago
JSON representation
ESLint configurations used by TecSinapse for JavaScript projects
- Host: GitHub
- URL: https://github.com/tecsinapse/eslint-config
- Owner: tecsinapse
- License: mit
- Created: 2017-05-04T19:18:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T19:26:37.000Z (5 months ago)
- Last Synced: 2025-04-20T01:12:09.356Z (3 months ago)
- Topics: eslint, eslint-config
- Language: JavaScript
- Size: 196 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @tecsinapse/eslint-config
Projeto para padronizar a configuração do ESLint e do Prettier utilizada na TecSinapse para projetos TypeScript
# Como usar?
Adicionar no seu package.json como devDependencies:
```
pnpm add -D @tecsinapse/eslint-config
```Incluir no seu projeto o arquivo **prettier.config.mjs** com o conteúdo:
```javascript
import tecsinapsePrettier from "@tecsinapse/eslint-config/prettier.mjs";export default tecsinapsePrettier;
```Incluir no seu projeto o arquivo **eslint.config.mjs** com o conteúdo:
```javascript
import tecsinapseEslintConfig from "@tecsinapse/eslint-config";export default [...tecsinapseEslintConfig];
```# Versionamento
Para versionar você pode utilizar:
```
npx --yes standard-version --release-as $VERSION
```Onde `$VERSION` é `patch` (0.0.x), `minor` (0.x.0) ou `major` (x.0.0). Se preferir, é possível especificar a versão diretamente (x.x.x).
Ao fim do processo, você deverá efetuar o `git push` das alterações:
```
git push --follow-tags origin $BRANCH
```Onde `$BRANCH` é o branch em que os comandos foram executados.
# Publicação
Para publicar basta rodar o seguinte comando:
```
npm publish
```