Socket
Socket
Sign inDemoInstall

eslint-plugin-vuetify

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vuetify - npm Package Compare versions

Comparing version 1.0.0-beta.8 to 1.0.0

lib/configs/recommended.js

10

lib/rules/no-legacy-grid.js

@@ -87,8 +87,8 @@ 'use strict'

: {
messageId: 'replacedWith',
data: {
a: attr.name,
b: replacement
messageId: 'replacedWith',
data: {
a: attr.name,
b: replacement
}
}
}
context.report({

@@ -95,0 +95,0 @@ ...message,

@@ -41,2 +41,28 @@ 'use strict'

function isObject (obj) {
return obj !== null && typeof obj === 'object'
}
function mergeDeep (source, target) {
for (const key in target) {
const sourceProperty = source[key]
const targetProperty = target[key]
// Only continue deep merging if
// both properties are objects
if (
isObject(sourceProperty) &&
isObject(targetProperty)
) {
source[key] = mergeDeep(sourceProperty, targetProperty)
continue
}
source[key] = targetProperty
}
return source
}
module.exports = {

@@ -46,3 +72,5 @@ hyphenate,

isBuiltinAttribute,
getAttributes
getAttributes,
isObject,
mergeDeep
}
{
"name": "eslint-plugin-vuetify",
"version": "1.0.0-beta.8",
"version": "1.0.0",
"description": "An eslint plugin for Vuetify",

@@ -9,8 +9,2 @@ "main": "lib/index.js",

"repository": "github:vuetifyjs/eslint-plugin-vuetify",
"husky": {
"hooks": {
"commit-msg": "node scripts/lint-commit-message.js",
"pre-commit": "node scripts/warn-npm-install.js && yarn run lint && yarn run test"
}
},
"scripts": {

@@ -27,22 +21,21 @@ "test": "mocha tests --recursive --reporter dot",

"dependencies": {
"eslint-plugin-vue": "^6.2.2",
"eslint-plugin-vue": "^7.0.0",
"requireindex": "^1.2.0"
},
"devDependencies": {
"eslint": "^7.4.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint": "^7.27.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"mocha": "^8.0.1",
"eslint-plugin-promise": "^5.1.0",
"husky": "^6.0.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"vue": "^2.6.11",
"vuetify": "^2.3.4"
"vue": "^2.6.12",
"vuetify": "^2.5.1"
},
"peerDependencies": {
"eslint": "^6.0.0 || ^7.0.0",
"eslint": "^6.2.0 || ^7.0.0",
"vuetify": "^2.0.0"
}
}

@@ -1,4 +0,4 @@

# eslint-plugin-vuetify (WIP)
# eslint-plugin-vuetify
> An eslint plugin for Vuetify.
> Built for https://github.com/vuetifyjs/vuetify/pull/7327, requires vuetify >=2.0.0-beta.9
> Built for https://github.com/vuetifyjs/vuetify/pull/7327, requires vuetify >=2.0.0

@@ -30,10 +30,5 @@ <br>

extends: [
'plugin:vue/base'
],
plugins: [
'vuetify'
],
rules: {
'vuetify/no-deprecated-classes': 'error'
}
'plugin:vue/base',
'plugin:vuetify/base'
]
}

@@ -47,5 +42,13 @@ ```

### Deprecations
These rules will help you avoid deprecated components, props, and classes. They are included in the `plugin:vuetify/base` preset.
- Prevent the use of components that have been removed from Vuetify ([`no-deprecated-components`])
- Prevent the use of props that have been removed from Vuetify ([`no-deprecated-props`])
- Prevent the use of classes that have been removed from Vuetify ([`no-deprecated-classes`])
### Grid system
These rules are designed to help migrate to the new grid system in Vuetify v2
These rules are designed to help migrate to the new grid system in Vuetify v2. They are included in the `plugin:vuetify/recommended` preset.

@@ -55,14 +58,8 @@ - Prevent the use of legacy grid components and props ([`no-legacy-grid`])

### Deprecations
These rules will help you avoid deprecated components, props, and classes
- Prevent the use of classes that have been removed from Vuetify ([`no-deprecated-classes`])
- Prevent the use of components that have been removed from Vuetify (['no-deprecated-components`])
[`no-legacy-grid`]: ./docs/rules/no-legacy-grid.md
[`grid-unknown-attributes`]: ./docs/rules/grid-unknown-attributes.md
[`no-deprecated-components`]: ./docs/rules/no-deprecated-components.md
[`no-deprecated-props`]: ./docs/rules/no-deprecated-props.md
[`no-deprecated-classes`]: ./docs/rules/no-deprecated-classes.md
[`no-deprecated-components`]: ./docs/rules/no-deprecated-components.md

@@ -75,4 +72,4 @@

<li>
<a href="https://github.com/users/johnleider/sponsorship">Becoming a sponsor on Github</a>
<strong><small>(supports John)</small></strong>
<a href="https://github.com/sponsors/kaelwd">Becoming a sponsor on Github</a>
<strong><small>(supports Kael)</small></strong>
</li>

@@ -79,0 +76,0 @@ <li>

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