Skip to content

Commit

Permalink
Correctiosn diverses (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Donov4n committed Apr 11, 2024
1 parent 3a4618f commit 1a705ff
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions packages/vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,6 @@ module.exports = {
// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unescaped-entities.md
'react/no-unescaped-entities': ['error'],

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.md
'react/no-unknown-property': ['error', {
ignore: [
'for',
'class',
'v-model',
'v-tooltip',
'v-clickOutside',
],
}],

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unused-class-component-methods.md
'react/no-unused-class-component-methods': ['error'],

Expand All @@ -228,8 +217,14 @@ module.exports = {
withinOption: {
props: 'ignore',
data: 'ignore',
computed: 'always',
methods: 'always',
computed: {
betweenItems: 'always',
withinEach: 'ignore',
},
methods: {
betweenItems: 'always',
withinEach: 'ignore',
},
},
}],

Expand Down Expand Up @@ -833,6 +828,9 @@ module.exports = {
// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-typos.md
'react/no-typos': ['off'],

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.md
'react/no-unknown-property': ['off'],

// https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unsafe.md
'react/no-unsafe': ['off'],

Expand Down

0 comments on commit 1a705ff

Please sign in to comment.