# @novicell/eslint-config-nuxt

> A Eslint config for Nuxt projects with TypeScript

Latest version **0.2.5** (published 2022-06-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @novicell/eslint-config-nuxt
pnpm add @novicell/eslint-config-nuxt
yarn add @novicell/eslint-config-nuxt
bun add @novicell/eslint-config-nuxt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2022-06-24 |
| First published | 2022-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Simon Nørlund Eldevig |
| Maintainers | emilras, heense, jhavmoeller, hotepp, emiank, ozzy1312, simoneldevig, emilostervig |
| Keywords | eslint, nuxt, typescript |

## Links

- npm: https://www.npmjs.com/package/@novicell/eslint-config-nuxt
- npm.io page: https://npm.io/package/@novicell/eslint-config-nuxt

## Dependencies (2)

- [eslint-plugin-nuxt](https://npm.io/package/eslint-plugin-nuxt.md) ^3.2.0
- [@nuxtjs/eslint-config-typescript](https://npm.io/package/@nuxtjs/eslint-config-typescript.md) ^10.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.2.5 (latest) — 2022-06-24
- 0.2.4 — 2022-06-22
- 0.2.3 — 2022-06-22
- 0.2.2 — 2022-06-22
- 0.2.1 — 2022-06-22
- 0.2.0 — 2022-06-22

## README

# Novicell ESLint config for Nuxt.js with TypeScript

![npm](https://img.shields.io/npm/v/@novicell/eslint-config-nuxt)

This is an ESLint config for Nuxt 2 and 3 projects with TypeScript.

## How to install
1.
    ```bash
    npm i eslint @novicell/eslint-config-nuxt
    ```

2. Create a `.eslintrc.json` in the root of the project
3. Add the following 👇
    ```json
    {
      "extends": "@novicell/eslint-config-nuxt",
      "rules": {
        // Your project specific rules or overrides
      }
    }
    ```
4. Add lint scripts to `package.json`
    ```json
    "scripts": {
      "eslint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore .",
      "eslint:fix": "eslint --ext .js,.vue,.ts --ignore-path .gitignore . --fix",
    }
    ```
5. Make VS Code autofix issues on save (optional)
   * Create a `.vscode` folder in root and add `settings.json` to it. **Remember to disable Prettier!**
   * Add the following
   ```json
    {
      "css.validate": false,
      "less.validate": false,
      "scss.validate": false,
      "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true,
      },
      "prettier.enable": false
    }

   ```
6. Configure webpack to autofix eslint issues during build (optional)
    ```javascript
    extend (config, { isDev, isClient }) {
      if (isDev && isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue|ts)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/,
          options: {
            fix: true
          }
        });
      }
    }
    ```

## Contribution

Looking to contribute something? Here's how you can help. Please take a moment to review our [contribution guidelines](https://github.com/Novicell/novicell-frontend/wiki/Contribution-guidelines) in order to make the contribution process easy and effective for everyone involved.

## License

The Novicell CSS Utils is licensed under the MIT license. (http://opensource.org/licenses/MIT)

---
_Source: https://npm.io/package/@novicell/eslint-config-nuxt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
