Skip to content

Commit

Permalink
Merge branch 'dev' into elijbet/7180-notice-design-tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijbet committed Jan 3, 2025
2 parents 2e63733 + 75f54de commit 9e5dbc1
Show file tree
Hide file tree
Showing 342 changed files with 8,290 additions and 3,935 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/accessibility.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Accessibility
description: Report an accessibility issue in a component
labels: ["a11y", "bug", "0 - new", "p - high", "needs triage"]
labels: ["a11y", "bug", "0 - new", "needs triage"]
body:
- type: checkboxes
id: existing-issues
Expand Down
13 changes: 0 additions & 13 deletions .github/scripts/.eslintrc.json

This file was deleted.

6 changes: 6 additions & 0 deletions .github/scripts/.lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const baseConfig = require("../../.lintstagedrc.js");

module.exports = {
...baseConfig,
"*.{m,c,}js": ["eslint --fix", "prettier --write"],
};
28 changes: 28 additions & 0 deletions .github/scripts/eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const { FlatCompat } = require("@eslint/eslintrc");
const js = require("@eslint/js");
const globals = require("globals");

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});

module.exports = [
...compat.extends("eslint:recommended", "plugin:prettier/recommended"),
{
files: ["**/*.{c,m,}js"],
languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 2021,
sourceType: "commonjs",
},

rules: {
"comma-dangle": "off",
},
},
];
2 changes: 1 addition & 1 deletion .github/scripts/support/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
repo,
name: label,
});
} catch (e) {
} catch {
await github.rest.issues.createLabel({
owner,
repo,
Expand Down
5 changes: 5 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
"*.{json,html,yml}": ["prettier --write"],
"*.scss": ["stylelint --fix", "prettier --write"],
"*.md": ["prettier --write", "markdownlint --fix"],
};
7 changes: 0 additions & 7 deletions .lintstagedrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"packageRules": [
{
"groupName": "ArcGIS",
"matchPackageNames": ["@arcgis/**"]
"matchPackageNames": ["@arcgis/**"],
"rangeStrategy": "bump"
},
{
"groupName": "ESLint",
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Licensing

COPYRIGHT © 2024 Esri
COPYRIGHT © 2025 Esri

All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.

Expand Down
Loading

0 comments on commit 9e5dbc1

Please sign in to comment.