https://github.com/macopedia/eslint-config-macopedia
Shareable linters configuration across Macopedia's projects.
https://github.com/macopedia/eslint-config-macopedia
Last synced: 12 months ago
JSON representation
Shareable linters configuration across Macopedia's projects.
- Host: GitHub
- URL: https://github.com/macopedia/eslint-config-macopedia
- Owner: macopedia
- Created: 2020-11-18T17:13:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-05T10:41:49.000Z (about 4 years ago)
- Last Synced: 2025-06-22T04:30:15.408Z (12 months ago)
- Language: JavaScript
- Size: 560 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config-macopedia
Shareable linters configuration across Macopedia's projects.
## Instalation
```bash
$ yarn add eslint-config-macopedia --dev
```
## JavaScript projects
`.eslintrc.js`:
```js
extends: [
'macopedia'
],
```
## Vue.js
It extends Javascript configuration
`.eslintrc.js`:
```js
extends: [
'macopedia/vue'
],
```
## Nuxt.js
It extends Javascript + Vue.js configuration
`.eslintrc.js`:
```js
extends: [
'macopedia/nuxt'
],
```
## Stylelint
`stylelint.config.js`:
```js
module.exports = {
extends: ['eslint-config-macopedia/stylelint'],
}
```
## Prettier
`prettierrc.js`:
```js
module.exports = {
...require('eslint-config-macopedia/prettier.config.js')
}
```