Skip to content

Commit

Permalink
chore: lint, format all
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Jun 17, 2024
1 parent b284fc9 commit fce8cc9
Show file tree
Hide file tree
Showing 112 changed files with 5,125 additions and 5,325 deletions.
21 changes: 19 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,41 @@
"enabled": false
},
"formatter": {
"ignore": ["package.json"],
"enabled": true,
"indentStyle": "space",
"lineWidth": 100
},
"linter": {
"enabled": true,
"ignore": ["public", "node_modules", ".cache", "lib", "dist"],
"rules": {
"recommended": true
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"noUnusedTemplateLiteral": "warn",
"useTemplate": "warn",
"useNodejsImportProtocol": "off"
},
"complexity": {
"useLiteralKeys": "warn"
},
"correctness": {
"useExhaustiveDependencies": "warn"
}
}
},
"overrides": [
{
"include": ["docs/**/*"],
"ignore": ["public", "node_modules", ".cache"],
"ignore": ["public", "node_modules", ".cache", "lib", "dist"],
"linter": {
"rules": {
"style": {
"noNonNullAssertion": "off"
},
"correctness": {
"useExhaustiveDependencies": "warn"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion docs/content/component/chip-filter/component-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion docs/content/component/text-field/component-meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
}
}
}
}
}
4 changes: 3 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.0.0",
"private": true,
"description": "seed docs",
"keywords": ["gatsby"],
"keywords": [
"gatsby"
],
"author": "junghyeonsu",
"scripts": {
"build": "GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --verbose --log-pages",
Expand Down
8 changes: 6 additions & 2 deletions docs/scripts/validate-meta-data.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import chalk from "chalk";
import fs from "node:fs/promises";
import path from "node:path";

import componentMetaSchema from "../schema/component-meta.json" assert { type: "json" };
import primitiveMetaSchema from "../schema/primitive-meta.json" assert { type: "json" };
import componentMetaSchema from "../schema/component-meta.json" assert {
type: "json",
};
import primitiveMetaSchema from "../schema/primitive-meta.json" assert {
type: "json",
};

const ajv = new Ajv();

Expand Down
Loading

0 comments on commit fce8cc9

Please sign in to comment.