From b9b04a63ff9b1b7a22c54d262ea52ee607f3084d Mon Sep 17 00:00:00 2001 From: yayuyokitano <69117606+yayuyokitano@users.noreply.github.com> Date: Wed, 20 Sep 2023 18:00:09 +0100 Subject: [PATCH] Finalize --- .eslintrc.yml | 3 --- package.json | 20 +++++++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 .eslintrc.yml diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index 7ce569d..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,3 +0,0 @@ -extends: 'web-scrobbler' -parserOptions: - ecmaVersion: 8 diff --git a/package.json b/package.json index ed31d63..54a9f73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "stylelint-config-web-scrobbler", - "version": "0.2.0", + "name": "@web-scrobbler/stylelint-config", + "version": "1.0.0", "author": "Alexey ", "description": "Stylelint configuration file for Web Scrobbler projects", "license": "MIT", @@ -21,17 +21,23 @@ "node": ">=10.0.0" }, "dependencies": { - "stylelint-order": "^6.0.3" + "stylelint-order": "6.0.3" }, "devDependencies": { - "eslint": "^8.19.0", - "eslint-config-web-scrobbler": "^2.1.1", - "stylelint-config-standard-scss": "^11.0.0" + "@web-scrobbler/eslint-config": "3.0.0", + "eslint": "8.49.0", + "stylelint-config-standard-scss": "11.0.0" }, "peerDependencies": { "stylelint": ">=15.10.0" }, + "eslintConfig": { + "extends": "@web-scrobbler/eslint-config", + "parserOptions": { + "ecmaVersion": 2020 + } + }, "scripts": { - "lint": "eslint *.js" + "lint": "eslint . --ext .js" } }