Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-nuxt

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-nuxt

ESLint plugin for Nuxt.js

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
174K
increased by3.87%
Maintainers
5
Weekly downloads
 
Created

What is eslint-plugin-nuxt?

eslint-plugin-nuxt is an ESLint plugin specifically designed for Nuxt.js projects. It provides a set of rules and configurations to ensure best practices and code quality in Nuxt.js applications.

What are eslint-plugin-nuxt's main functionalities?

No Tailing Slash

This rule ensures that there are no trailing slashes in the paths of your Nuxt.js application.

module.exports = {
  extends: [
    'plugin:nuxt/recommended'
  ],
  rules: {
    'nuxt/no-tailing-slash': 'error'
  }
};

No Deprecated Functions

This rule helps to avoid using deprecated functions in your Nuxt.js codebase.

module.exports = {
  extends: [
    'plugin:nuxt/recommended'
  ],
  rules: {
    'nuxt/no-deprecated-functions': 'error'
  }
};

No Async Data

This rule disallows the use of the asyncData method in favor of the fetch method, which is recommended in Nuxt.js.

module.exports = {
  extends: [
    'plugin:nuxt/recommended'
  ],
  rules: {
    'nuxt/no-async-data': 'error'
  }
};

Other packages similar to eslint-plugin-nuxt

Keywords

FAQs

Package last updated on 31 Aug 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc