Skip to content

Commit

Permalink
Merge pull request #21 from LexBorisoff/dev
Browse files Browse the repository at this point in the history
eslint-config-prettier peer dependency
  • Loading branch information
LexBorisoff authored Jan 12, 2025
2 parents cb077ec + a220ea0 commit b81cd61
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main
- dev
push:
branches-ignore:
- dev
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# `@lexjs/eslint-plugin`

![Build](https://img.shields.io/github/actions/workflow/status/LexBorisoff/eslint-plugin/release.yml)
![NPM Version](https://img.shields.io/npm/v/@lexjs/eslint-plugin)
![Static Badge](https://img.shields.io/badge/package-ESM--only-ffe536)

- [Installation](#installation)
- [Usage](#usage-flat-config)
- [Configs](#configs)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"access": "public"
},
"type": "module",
"main": "./dist/plugin/index.js",
"types": "./dist/types/plugin/index.d.ts",
"exports": {
".": {
"types": "./dist/types/plugin/index.d.ts",
Expand All @@ -25,12 +23,12 @@
],
"scripts": {
"prepack": "npm run build",
"build": "npm run tsc",
"build": "npm run compile",
"prebuild": "npm run ci && rimraf ./dist",
"ci": "npm run check-style && npm run check-build",
"check-style": "npm run format:check && npm run lint",
"check-build": "npm run tsc -- --noEmit",
"tsc": "tsc -p ./tsconfig.build.json",
"check-build": "npm run compile -- --noEmit",
"compile": "tsc -p ./tsconfig.build.json",
"format": "prettier --write \"*.{js,cjs,mjs,ts,cts,mts}\" \"src/**/*.ts\"",
"format:check": "prettier --check \"*.{js,cjs,mjs,ts,cts,mts}\" \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.{js,ts}\"",
Expand All @@ -56,6 +54,7 @@
"license": "ISC",
"peerDependencies": {
"eslint": ">=9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
Expand Down

0 comments on commit b81cd61

Please sign in to comment.