diff --git a/.github/workflows/issue-notifications.yaml b/.github/workflows/issue-notifications.yaml
index 24e26fb5f4d..7d55883e078 100644
--- a/.github/workflows/issue-notifications.yaml
+++ b/.github/workflows/issue-notifications.yaml
@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name : "Assign for verification"
+ - name: "Assign for verification"
if: github.event.label.name == '3 - installed'
uses: actions/github-script@v7
env:
@@ -50,4 +50,3 @@ jobs:
script: |
const action = require('${{ github.workspace }}/.github/scripts/notifyAboutNewComponent.js')
await action({github, context, core})
-
diff --git a/packages/calcite-components-react/eslint.config.mjs b/packages/calcite-components-react/eslint.config.mjs
index de40d8cd333..7286e355ff1 100644
--- a/packages/calcite-components-react/eslint.config.mjs
+++ b/packages/calcite-components-react/eslint.config.mjs
@@ -1,3 +1,5 @@
-export default [{
+export default [
+ {
ignores: ["**/*"],
-}];
\ No newline at end of file
+ },
+];
diff --git a/packages/calcite-components/src/01-introduction.mdx b/packages/calcite-components/src/01-introduction.mdx
index ddce5d25acd..41d867173b6 100644
--- a/packages/calcite-components/src/01-introduction.mdx
+++ b/packages/calcite-components/src/01-introduction.mdx
@@ -1,4 +1,4 @@
-import { Meta } from '@storybook/blocks';
+import { Meta } from "@storybook/blocks";
diff --git a/packages/calcite-components/src/02-contributing.mdx b/packages/calcite-components/src/02-contributing.mdx
index 5684733d565..2cd3a985512 100644
--- a/packages/calcite-components/src/02-contributing.mdx
+++ b/packages/calcite-components/src/02-contributing.mdx
@@ -1,5 +1,5 @@
-import { Markdown, Meta } from '@storybook/blocks';
-import CONTRIBUTING from '../../../CONTRIBUTING.md?raw';
+import { Markdown, Meta } from "@storybook/blocks";
+import CONTRIBUTING from "../../../CONTRIBUTING.md?raw";
diff --git a/packages/calcite-components/src/03-code-of-conduct.mdx b/packages/calcite-components/src/03-code-of-conduct.mdx
index bb290a22fc0..12917831b5e 100644
--- a/packages/calcite-components/src/03-code-of-conduct.mdx
+++ b/packages/calcite-components/src/03-code-of-conduct.mdx
@@ -1,5 +1,5 @@
-import { Markdown, Meta } from '@storybook/blocks';
-import CODE_OF_CONDUCT from '../../../CODE_OF_CONDUCT.md?raw';
+import { Markdown, Meta } from "@storybook/blocks";
+import CODE_OF_CONDUCT from "../../../CODE_OF_CONDUCT.md?raw";
diff --git a/packages/calcite-components/src/04-licensing.mdx b/packages/calcite-components/src/04-licensing.mdx
index 338db058437..e218d10fca6 100644
--- a/packages/calcite-components/src/04-licensing.mdx
+++ b/packages/calcite-components/src/04-licensing.mdx
@@ -1,7 +1,7 @@
-import { Markdown, Meta } from '@storybook/blocks';
+import { Markdown, Meta } from "@storybook/blocks";
-import LICENSE from '../LICENSE.md';
+import LICENSE from "../LICENSE.md";
{LICENSE}
diff --git a/packages/calcite-components/src/06-faq.mdx b/packages/calcite-components/src/06-faq.mdx
index 0feef642e8c..2bc568941f9 100644
--- a/packages/calcite-components/src/06-faq.mdx
+++ b/packages/calcite-components/src/06-faq.mdx
@@ -1,7 +1,7 @@
-import { Markdown, Meta } from '@storybook/blocks';
+import { Markdown, Meta } from "@storybook/blocks";
-import FAQ from '../FAQ.md';
+import FAQ from "../FAQ.md";
{FAQ}
diff --git a/packages/calcite-components/src/07-conventions.mdx b/packages/calcite-components/src/07-conventions.mdx
index a774974a961..efc94c26195 100644
--- a/packages/calcite-components/src/07-conventions.mdx
+++ b/packages/calcite-components/src/07-conventions.mdx
@@ -1,7 +1,7 @@
-import { Markdown, Meta } from '@storybook/blocks';
+import { Markdown, Meta } from "@storybook/blocks";
-import CONVENTIONS from '../conventions/README.md';
+import CONVENTIONS from "../conventions/README.md";
{CONVENTIONS}
diff --git a/packages/calcite-components/src/15-internationalization.mdx b/packages/calcite-components/src/15-internationalization.mdx
index cf6da2e7bfa..576304a20be 100644
--- a/packages/calcite-components/src/15-internationalization.mdx
+++ b/packages/calcite-components/src/15-internationalization.mdx
@@ -1,4 +1,4 @@
-import {Markdown, Meta} from "@storybook/blocks";
+import { Markdown, Meta } from "@storybook/blocks";
import CONVENTIONS from "../conventions/Internationalization.md?raw";
diff --git a/packages/calcite-ui-icons/bin/build-fonts.js b/packages/calcite-ui-icons/bin/build-fonts.js
index 46b551eef06..3dcc780b06a 100755
--- a/packages/calcite-ui-icons/bin/build-fonts.js
+++ b/packages/calcite-ui-icons/bin/build-fonts.js
@@ -1,23 +1,23 @@
#!/usr/bin/env node
-const { execSync } = require('child_process');
+const { execSync } = require("child_process");
const {
- readdirSync,
- mkdirSync,
- rmSync,
- existsSync,
- lstatSync,
- symlinkSync,
- unlinkSync,
- readFileSync,
- writeFileSync,
- } = require('fs');
-const { join, basename } = require('path');
-const prettier = require('@prettier/sync');
+ readdirSync,
+ mkdirSync,
+ rmSync,
+ existsSync,
+ lstatSync,
+ symlinkSync,
+ unlinkSync,
+ readFileSync,
+ writeFileSync,
+} = require("fs");
+const { join, basename } = require("path");
+const prettier = require("@prettier/sync");
const SCRIPT_DIR = __dirname;
-const PACKAGE_ROOT = join(SCRIPT_DIR, '..');
-const fontsDir = join(PACKAGE_ROOT, 'fonts/icons');
-const iconsDir = join(PACKAGE_ROOT, 'icons');
+const PACKAGE_ROOT = join(SCRIPT_DIR, "..");
+const fontsDir = join(PACKAGE_ROOT, "fonts/icons");
+const iconsDir = join(PACKAGE_ROOT, "icons");
const sizes = [16, 24, 32];
const ensureDir = (dir) => mkdirSync(dir, { recursive: true });
@@ -31,7 +31,7 @@ const clearAndPrepareDirs = () => {
const filterIcons = () =>
readdirSync(iconsDir).filter((file) => {
const filePath = join(iconsDir, file);
- return file.endsWith('.svg') && !readFileSync(filePath, 'utf8').includes('opacity');
+ return file.endsWith(".svg") && !readFileSync(filePath, "utf8").includes("opacity");
});
const createLinks = (icons) => {
@@ -47,7 +47,7 @@ const organizeIconsBySize = (size) => {
readdirSync(fontsDir).forEach((file) => {
if (file.includes(`-${size}`)) {
const src = join(fontsDir, file);
- const dest = join(sizeDir, file.replace(`-${size}`, ''));
+ const dest = join(sizeDir, file.replace(`-${size}`, ""));
if (lstatSync(src).isSymbolicLink()) {
if (existsSync(dest)) unlinkSync(dest);
symlinkSync(src, dest);
@@ -58,21 +58,19 @@ const organizeIconsBySize = (size) => {
const generateFonts = (size) =>
execSync(`fantasticon fonts/icons/${size}/ -n calcite-ui-icons-${size} --normalize true -t ttf -g json -o fonts/`, {
- stdio: 'inherit',
+ stdio: "inherit",
});
const updateConfig = () => {
- const codepoints = JSON.parse(readFileSync(join(PACKAGE_ROOT, 'fonts/calcite-ui-icons-16.json'), 'utf8'));
- const config = prettier.format(JSON.stringify({ codepoints }), { parser: 'json' });
- writeFileSync(join(PACKAGE_ROOT, 'fantasticonrc.json'), config);
+ const codepoints = JSON.parse(readFileSync(join(PACKAGE_ROOT, "fonts/calcite-ui-icons-16.json"), "utf8"));
+ const config = prettier.format(JSON.stringify({ codepoints }), { parser: "json" });
+ writeFileSync(join(PACKAGE_ROOT, "fantasticonrc.json"), config);
};
-const main = () => {
+module.exports = () => {
clearAndPrepareDirs();
createLinks(filterIcons());
sizes.forEach(organizeIconsBySize);
sizes.forEach(generateFonts);
updateConfig();
};
-
-main();
diff --git a/packages/calcite-ui-icons/docs/app.js b/packages/calcite-ui-icons/docs/app.js
index d0492b31e9d..5b012f6e156 100644
--- a/packages/calcite-ui-icons/docs/app.js
+++ b/packages/calcite-ui-icons/docs/app.js
@@ -69,11 +69,16 @@
var filled = key.substring(key.length - 2);
var isFilled = filled === "-f";
var baseName = isFilled ? key.substring(0, key.length - 2) : key;
- var baseURL = "https://raw.githubusercontent.com/Esri/calcite-ui-icons/master/icons/" + encodeURIComponent(baseName) + "-";
+ var baseURL =
+ "https://raw.githubusercontent.com/Esri/calcite-ui-icons/master/icons/" + encodeURIComponent(baseName) + "-";
var suffix = ".svg";
var tags = icon.alias
.map(function (alias) {
- return '' + encodeURIComponent(alias) + "";
+ return (
+ '' +
+ encodeURIComponent(alias) +
+ ""
+ );
})
.join("");
@@ -84,7 +89,8 @@
document.querySelector(".js-detail-release").textContent = (icon.release && icon.release) || "---";
[16, 24, 32].forEach(function (size) {
- document.querySelector(".js-link-" + size).href = baseURL + size + (isFilled ? encodeURIComponent(filled) : "") + suffix;
+ document.querySelector(".js-link-" + size).href =
+ baseURL + size + (isFilled ? encodeURIComponent(filled) : "") + suffix;
var iconDetail = document.querySelector(".js-detail-" + size);
iconDetail.innerHTML = "";
iconDetail.appendChild(getSVG(icon[size], size));
diff --git a/packages/eslint-config-calcite/core.js b/packages/eslint-config-calcite/core.js
index 2ff0ebaed3f..ea35c91eb81 100644
--- a/packages/eslint-config-calcite/core.js
+++ b/packages/eslint-config-calcite/core.js
@@ -55,7 +55,6 @@ export default tseslint.config(
},
],
-
"import/no-dynamic-require": [
"error",
{
diff --git a/packages/eslint-config-calcite/jsx.js b/packages/eslint-config-calcite/jsx.js
index 621d7f6d894..efb29f72d94 100644
--- a/packages/eslint-config-calcite/jsx.js
+++ b/packages/eslint-config-calcite/jsx.js
@@ -47,4 +47,3 @@ export default tseslint.config({
],
},
});
-
diff --git a/packages/eslint-plugin-calcite-components/eslint.config.mjs b/packages/eslint-plugin-calcite-components/eslint.config.mjs
index d6b5c35b134..7286e355ff1 100644
--- a/packages/eslint-plugin-calcite-components/eslint.config.mjs
+++ b/packages/eslint-plugin-calcite-components/eslint.config.mjs
@@ -1,3 +1,5 @@
-export default [{
+export default [
+ {
ignores: ["**/*"],
-}];
+ },
+];
diff --git a/packages/eslint-plugin-calcite-components/src/utils/rule-tester.ts b/packages/eslint-plugin-calcite-components/src/utils/rule-tester.ts
index a9a8d2cd461..9e8be3bdb2e 100644
--- a/packages/eslint-plugin-calcite-components/src/utils/rule-tester.ts
+++ b/packages/eslint-plugin-calcite-components/src/utils/rule-tester.ts
@@ -5,7 +5,6 @@ RuleTester.afterAll = afterAll;
RuleTester.describe = describe;
RuleTester.it = it;
-
export const ruleTester = () =>
new RuleTester({
languageOptions: {