Skip to content

Commit bb66a3e

Browse files
committed
feat: add oxlint + oxfmt configs
1 parent e53f14b commit bb66a3e

25 files changed

Lines changed: 2307 additions & 2025 deletions

‎.changeset/few-beans-cheer.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@frontify/oxlint-config-basic': patch
3+
'@frontify/oxlint-config-react': patch
4+
'@frontify/oxfmt-config': patch
5+
---
6+
7+
feat: initial release

‎README.md‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# Frontify ESLint configurations
1+
# Frontify code style configurations
22

3-
This repository contains all Frontify ESLint configurations for its projects.
3+
This repository contains all Frontify code style configurations for its projects.
44

55
## Usage
66

7-
The configurations are published in 2 different flavors:
7+
The configurations are published in 4 different flavors:
88

9-
- `@frontify/eslint-config-basic`: The base configuration including JavaScript and TypeScript rules.
10-
- `@frontify/eslint-config-react`: The base configuration including React rules.
9+
- `@frontify/eslint-config-basic`: The base ESLint configuration including JavaScript and TypeScript rules.
10+
- `@frontify/eslint-config-react`: The base ESLint configuration including React rules.
11+
- `@frontify/oxlint-config-basic`: The base oxlint configuration including JavaScript and TypeScript rules.
12+
- `@frontify/oxlint-config-react`: The base oxlint configuration including React rules.
1113

12-
Types aware rules are enabled on all 2 configurations, you will need to define the `tsconfig.json` file in your project and set the path to it in the ESLint Config file ([`parserOptions.project`](https://typescript-eslint.io/packages/parser/#project)).
14+
Types aware rules are enabled on all configurations, you will need to define the `tsconfig.json` file in your project and set the path to it in the configuration file ([`parserOptions.project`](https://typescript-eslint.io/packages/parser/#project)).
1315

1416
## Publish a new version
1517

‎package.json‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"name": "@frontify/eslint-config-monorepo",
33
"version": "0.0.1",
44
"private": true,
5-
"packageManager": "pnpm@10.33.2+sha512.a90faf6feeab71ad6c6e57f94e0fe1a12f5dcc22cd754db40ae9593eb6a3e0b6b12e3540218bb37ae083404b1f2ce6db2a4121e979829b4aff94b99f49da1cf8",
5+
"packageManager": "pnpm@11.5.0+sha512.dbfcc4f81cf48597afd4bc391ffdf12c11f1a9fb83a395bfa6b0a2d9cc2fd8ffebafdb1ccbd529632153f793904c2615b7f09fe1a345473fd1c35845172a8eb1",
66
"author": "Frontify Developers <developers@frontify.com>",
77
"license": "MIT",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/Frontify/eslint-config"
10+
"url": "https://github.com/Frontify/code-style"
1111
},
1212
"scripts": {
1313
"lint": "eslint .",
@@ -18,24 +18,24 @@
1818
"update": "taze -r -I major"
1919
},
2020
"devDependencies": {
21-
"@changesets/changelog-github": "^0.6.0",
21+
"@changesets/changelog-github": "^0.7.0",
2222
"@changesets/cli": "^2.31.0",
23-
"eslint": "^10.3.0",
23+
"eslint": "^10.4.1",
2424
"eslint-plugin-notice": "^1.0.0",
2525
"prettier": "^3.8.3",
26-
"taze": "^19.11.0",
26+
"taze": "^19.14.1",
2727
"typescript": "^6.0.3"
2828
},
2929
"pnpm": {
3030
"overrides": {
31-
"minimatch@^3": "npm:minimatch@^3.1.4",
31+
"brace-expansion@<1.1.13": ">=1.1.13",
32+
"brace-expansion@>=4.0.0 <5.0.5": ">=5.0.5",
33+
"defu": ">=6.1.5",
3234
"flatted": ">=3.4.2",
35+
"lodash": ">=4.18.0",
36+
"minimatch@^3": "npm:minimatch@^3.1.4",
3337
"picomatch@<2.3.2": ">=2.3.2",
3438
"picomatch@>=4.0.0 <4.0.4": ">=4.0.4",
35-
"lodash": ">=4.18.0",
36-
"defu": ">=6.1.5",
37-
"brace-expansion@<1.1.13": ">=1.1.13",
38-
"brace-expansion@>=4.0.0 <5.0.5": ">=5.0.5",
3939
"yaml@>=2.0.0 <2.8.3": ">=2.8.3"
4040
}
4141
}
File renamed without changes.
File renamed without changes.
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"repository": {
88
"directory": "packages/basic",
99
"type": "git",
10-
"url": "https://github.com/Frontify/eslint-config"
10+
"url": "https://github.com/Frontify/code-style"
1111
},
1212
"main": "eslint.config.mjs",
1313
"files": [
@@ -25,28 +25,28 @@
2525
"typescript": "^5.0.0 || ^6.0.0 || ^7.0.0"
2626
},
2727
"dependencies": {
28-
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
28+
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
2929
"@eslint/js": "^10.0.1",
30-
"@eslint/markdown": "^8.0.1",
30+
"@eslint/markdown": "^8.0.2",
3131
"@stylistic/eslint-plugin": "^5.10.0",
32-
"@typescript-eslint/eslint-plugin": "^8.59.1",
33-
"@typescript-eslint/parser": "^8.59.1",
32+
"@typescript-eslint/eslint-plugin": "^8.60.0",
33+
"@typescript-eslint/parser": "^8.60.0",
3434
"eslint-config-prettier": "^10.1.8",
35-
"eslint-import-resolver-typescript": "^4.4.4",
35+
"eslint-import-resolver-typescript": "^4.4.5",
3636
"eslint-plugin-import-x": "^4.16.2",
37-
"eslint-plugin-jsonc": "^3.1.2",
37+
"eslint-plugin-jsonc": "^3.2.0",
3838
"eslint-plugin-lodash": "^8.0.0",
3939
"eslint-plugin-no-only-tests": "^3.4.0",
40-
"eslint-plugin-prettier": "^5.5.5",
40+
"eslint-plugin-prettier": "^5.5.6",
4141
"eslint-plugin-promise": "^7.3.0",
4242
"eslint-plugin-unicorn": "^64.0.0",
43-
"eslint-plugin-yml": "^3.3.2",
43+
"eslint-plugin-yml": "^3.4.0",
4444
"globals": "^17.6.0",
45-
"typescript-eslint": "^8.59.1",
45+
"typescript-eslint": "^8.60.0",
4646
"yaml-eslint-parser": "^2.0.0"
4747
},
4848
"devDependencies": {
49-
"eslint": "^10.3.0",
49+
"eslint": "^10.4.1",
5050
"prettier": "^3.8.3",
5151
"typescript": "^6.0.3"
5252
},
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)