diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..9eddc53 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,15 @@ +import js from "@eslint/js"; +import globals from "globals"; +import json from "@eslint/json"; +import css from "@eslint/css"; +import { defineConfig } from "eslint/config"; + + +export default defineConfig([ + { files: ["**/*.{js,mjs,cjs}"], plugins: { js }, extends: ["js/recommended"] }, + { files: ["**/*.js"], languageOptions: { sourceType: "script" } }, + { files: ["**/*.{js,mjs,cjs}"], languageOptions: { globals: globals.browser } }, + { files: ["**/*.json"], plugins: { json }, language: "json/json", extends: ["json/recommended"] }, + { files: ["**/*.jsonc"], plugins: { json }, language: "json/jsonc", extends: ["json/recommended"] }, + { files: ["**/*.css"], plugins: { css }, language: "css/css", extends: ["css/recommended"] }, +]); diff --git a/material-icons.css b/material-icons.css index 37e86ab..1a17bb4 100644 --- a/material-icons.css +++ b/material-icons.css @@ -19,5 +19,6 @@ word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; + font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; -} \ No newline at end of file +} diff --git a/package.json b/package.json index f9b6659..b668411 100644 --- a/package.json +++ b/package.json @@ -17,5 +17,12 @@ "main": "icons.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" + "devDependencies": { + "jpc-like-websites": "git+https://git.labos.goip.de/chris/jpc-like-websites.git", + "@eslint/css": "^0.7.0", + "@eslint/js": "^9.26.0", + "@eslint/json": "^0.12.0", + "eslint": "^9.26.0", + "globals": "^16.1.0" } }