https://github.com/andremarquesdev/eslint-config-andremarquesdev
ESLint config used by AndreMarquesDev
https://github.com/andremarquesdev/eslint-config-andremarquesdev
Last synced: 5 months ago
JSON representation
ESLint config used by AndreMarquesDev
- Host: GitHub
- URL: https://github.com/andremarquesdev/eslint-config-andremarquesdev
- Owner: AndreMarquesDev
- License: mit
- Created: 2020-06-07T20:20:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-08T17:18:10.000Z (over 1 year ago)
- Last Synced: 2025-04-11T04:05:01.396Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-andremarquesdev
[](https://www.npmjs.com/package/eslint-config-andremarquesdev)

[](https://eslint.org/)
[](https://github.com/AndreMarquesDev/eslint-config-andremarquesdev/blob/master/LICENSE)
[](https://github.com/AndreMarquesDev/eslint-config-andremarquesdev)
ESLint config used by [AndreMarquesDev](https://github.com/AndreMarquesDev)
## Supports








## How to use
1. Install the package:
```sh
npm install --dev eslint-config-andremarquesdev
```
or
```sh
yarn add --dev eslint-config-andremarquesdev
```
2. Create a `.eslintrc.js` file in the root of your project's directory (it should live where package.json does). It should look like this:
```sh
module.exports = {
extends: [
'andremarquesdev',
],
};
```
3. You can add two scripts to your package.json to lint and/or fix:
```json
"scripts": {
"lint": "eslint . --ext .js,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.ts,.tsx --fix"
},
```
## How to publish to npm
1. Manually increment the `version` field in [package.json](package.json);
2. Commit the changes, including the [package.json](package.json) change mentioned in the previous step;
3. Create a new git tag with `git tag `;
4. Push the commit as usual;
5. Push the new tag with `git push origin --tags`;
6. Run `yarn npm publish`.
### Author
André Marques
[Website](https://andremarquesdev.com)
[GitHub](https://github.com/AndreMarquesDev)
[CodePen](https://codepen.io/AndreMarquesDev)
[Twitter](https://twitter.com/axxyJS)
### License
MIT