Skip to content

Commit

Permalink
Update auto-merged devDependencies (#1388)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
  • Loading branch information
renovate[bot] and jackw authored Dec 31, 2024
1 parent 8b11955 commit 9c58c18
Show file tree
Hide file tree
Showing 10 changed files with 967 additions and 803 deletions.
7 changes: 0 additions & 7 deletions .eslintrc

This file was deleted.

4 changes: 3 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"includePaths": ["package.json", "packages/**", "docusaurus/**", ".github"],
"ignoreDeps": ["react", "react-dom"],
"separateMajorMinor": false,
"reviewers": ["team:grafana/plugins-platform-frontend"],
"enabledManagers": ["regex", "npm", "github-actions"],
Expand Down Expand Up @@ -73,7 +74,8 @@
"labels": ["dependencies", "javascript", "no-changelog"],
"matchCurrentVersion": "!/^0/",
"matchDepTypes": ["devDependencies"],
"excludePackageNames": ["@grafana/e2e-selectors"]
"excludePackageNames": ["@grafana/e2e-selectors"],
"rangeStrategy": "bump"
},
// patches will only touch the repo lock file so we apply no-changelog to prevent entries in the changelog
// which would be misleading to consumers.
Expand Down
23 changes: 23 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// @ts-check
const grafanaConfig = require('@grafana/eslint-config/flat');

/**
* @type {Array<import('eslint').Linter.Config>}
*/
module.exports = [
{
files: ['**/*.{ts,tsx,js}'],
ignores: [
'.github',
'.yarn',
'**/.*', // dotfiles aren't ignored by default in FlatConfig,
],
},
grafanaConfig,
{
rules: {
'react/prop-types': 'off',
'react-hooks/rules-of-hooks': 'off',
},
},
];
Loading

0 comments on commit 9c58c18

Please sign in to comment.