Skip to content

Commit

Permalink
Switch to all preset config
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann committed Jul 19, 2023
1 parent 3b9fcd2 commit a634e35
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = [
},
...eslintrc.plugins('eslint-plugin', 'prettier', 'unicorn'),
...eslintrc.extends(
'plugin:eslint-plugin/recommended',
'plugin:eslint-plugin/all',
'prettier',
'plugin:node-dependencies/recommended',
'plugin:jsonc/recommended-with-jsonc',
Expand Down Expand Up @@ -143,11 +143,6 @@ module.exports = [

'prettier/prettier': 'error',
'eslint-plugin/report-message-format': ['error', "^[A-Z`'{].*\\.$"],
'eslint-plugin/meta-property-ordering': 'error',
'eslint-plugin/prefer-placeholders': 'error',
'eslint-plugin/prefer-replace-text': 'error',
'eslint-plugin/test-case-property-ordering': 'error',
'eslint-plugin/test-case-shorthand-strings': 'error',

'no-debugger': 'error',
'no-console': 'error',
Expand Down Expand Up @@ -202,17 +197,20 @@ module.exports = [
{
files: ['lib/rules/*.js'],
rules: {
'eslint-plugin/require-meta-docs-description': 'error',
'eslint-plugin/require-meta-docs-url': [
'error',
{
pattern: `https://eslint.vuejs.org/rules/{{name}}.html`
}
{ pattern: 'https://eslint.vuejs.org/rules/{{name}}.html' }
],
'internal/no-invalid-meta': 'error',
'internal/no-invalid-meta-docs-categories': 'error'
}
},
{
files: ['eslint-internal-rules/*.js'],
rules: {
'eslint-plugin/require-meta-docs-url': 'off'
}
},
{
files: ['**/*.json'],
rules: {
Expand Down

0 comments on commit a634e35

Please sign in to comment.