Skip to content

Commit

Permalink
Add build command for maki icons with metadata for styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tristen committed Dec 23, 2024
1 parent 30e0005 commit 3e8f2e1
Show file tree
Hide file tree
Showing 11 changed files with 1,496 additions and 1,142 deletions.
20 changes: 0 additions & 20 deletions .eslintrc

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store*
_site/
node_modules
npm-debug.log
meta-icons
npm-debug.log
2 changes: 1 addition & 1 deletion browser.cjs.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions browser.esm.js

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("eslint:recommended"), {
languageOptions: {
globals: {
...globals.node,
process: true,
module: true,
require: true,
},
},

rules: {
"key-spacing": [2, {
beforeColon: false,
afterColon: true,
}],

indent: [2, 2],
quotes: [2, "single"],
"no-console": [0],
semi: [2, "always"],
"no-undef": 0,
},
}];
5 changes: 3 additions & 2 deletions icons/taxi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3e8f2e1

Please sign in to comment.