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

@dreipol/eslint-config-vue

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreipol/eslint-config-vue - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

189

.eslintrc.js
module.exports = {
'extends': [
'plugin:vue/recommended',
'extends': [
'plugin:vue/recommended',
],
'rules': {
'vue/attributes-order': [
'error',
{
'order': [
'OTHER_ATTR',
'DEFINITION',
'LIST_RENDERING',
'CONDITIONALS',
'RENDER_MODIFIERS',
'GLOBAL',
'UNIQUE',
'BINDING',
'EVENTS',
'CONTENT',
],
},
],
'rules': {
'vue/attributes-order': [
'error',
{
'order': [
'OTHER_ATTR',
'DEFINITION',
'LIST_RENDERING',
'CONDITIONALS',
'RENDER_MODIFIERS',
'GLOBAL',
'UNIQUE',
'BINDING',
'EVENTS',
'CONTENT',
],
},
'vue/html-closing-bracket-newline': [
'error',
{
'singleline': 'never',
'multiline': 'never',
},
],
'vue/html-closing-bracket-spacing': [
'warn',
{
'startTag': 'never',
'endTag': 'never',
'selfClosingTag': 'never',
},
],
'vue/html-indent': [
'error',
4,
{
'attribute': 2,
'alignAttributesVertically': false,
},
],
'vue/max-attributes-per-line': [
'error',
{
'singleline': 3,
'multiline': {
'max': 1,
'allowFirstLine': true,
},
},
],
'vue/order-in-components': [
'error',
{
'order': [
'el',
'name',
'parent',
'functional',
'delimiters',
'comments',
'components',
'directives',
'filters',
'extends',
'mixins',
'inheritAttrs',
'provide',
'inject',
'model',
'props',
'propsData',
'data',
'computed',
'methods',
'watch',
'LIFECYCLE_HOOKS',
'events',
'template',
'render',
'renderError',
],
'vue/html-indent': [
'error',
4,
{
'attribute': 2,
'alignAttributesVertically': false,
},
},
],
},
'overrides': [
{
'files': [
'*.vue',
],
'rules': {
'indent': 'off',
'vue/script-indent': [
'error',
4,
{
'baseIndent': 1,
'switchCase': 1,
},
],
'vue/max-attributes-per-line': [
'error',
{
'singleline': 3,
'multiline': {
'max': 1,
'allowFirstLine': true,
},
},
],
'vue/order-in-components': [
'error',
{
'order': [
'el',
'name',
'parent',
'functional',
'delimiters',
'comments',
'components',
'directives',
'filters',
'extends',
'mixins',
'inheritAttrs',
'provide',
'inject',
'model',
'props',
'propsData',
'data',
'computed',
'methods',
'watch',
'LIFECYCLE_HOOKS',
'events',
'template',
'render',
'renderError',
],
},
],
},
},
'overrides': [
{
'files': [
'*.vue',
],
'rules': {
'indent': 'off',
'vue/script-indent': [
'error',
4,
{
'baseIndent': 1,
'switchCase': 1,
},
],
},
},
],
],
};
{
"name": "@dreipol/eslint-config-vue",
"version": "1.0.0",
"version": "2.0.0",
"description": "Eslint configuration for our vue frontend",

@@ -20,5 +20,5 @@ "main": ".eslintrc.js",

"peerDependencies": {
"eslint-plugin-vue": "^4.5.0"
"eslint-plugin-vue": "^5.1.0"
},
"homepage": "https://github.com/dreipol/eslint-config-vue#readme"
}

Sorry, the diff of this file is not supported yet

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