Skip to content

Commit 8fe2996

Browse files
authored
Merge branch 'master' into no-rename-default-fix
2 parents b2d29e0 + 27b175f commit 8fe2996

File tree

298 files changed

+33250
-14997
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+33250
-14997
lines changed

.changeset/swift-friends-remain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-import-x": patch
3+
---
4+
5+
fix(package): remove config and rules exports pointing to empty files

.codesandbox/ci.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"node": "18",
3-
"installCommand": "codesandbox:install",
2+
"node": "20",
43
"sandboxes": []
54
}

.commitlintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@1stg"
3+
}

.eslint-doc-generatorrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { format } from 'prettier'
2+
3+
import prettierRC from './.prettierrc.js'
4+
5+
/** @type {import('eslint-doc-generator').GenerateOptions} */
6+
const config = {
7+
configEmoji: [
8+
['recommended', '☑️'],
9+
['flat/errors', '❗'],
10+
['flat/recommended', '☑️'],
11+
['flat/typescript', '⌨️'],
12+
['flat/warnings', '🚸'],
13+
],
14+
ruleDocTitleFormat: 'prefix-name',
15+
ruleDocSectionOptions: false,
16+
ignoreConfig: ['stage-0', 'flat/stage-0'],
17+
ruleListSplit: 'meta.docs.category',
18+
postprocess: content =>
19+
format(content, { ...prettierRC, parser: 'markdown' }),
20+
}
21+
22+
export default config

.eslint-doc-generatorrc.mjs

Lines changed: 0 additions & 11 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// ! This file is here for testing `no-unused-modules` rule for eslintrc
2+
3+
module.exports = {}

.eslintrc.js

Lines changed: 0 additions & 121 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/workflows/autofix.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci".
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
autofix:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout Repo
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
21+
- name: Setup Node.js LTS
22+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
23+
with:
24+
node-version: lts/*
25+
cache: yarn
26+
27+
- name: Install dependencies
28+
run: yarn --immutable
29+
30+
- name: Format Codes
31+
run: yarn format
32+
33+
- name: Apply autofix.ci
34+
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27 # v1.3.2
35+
with:
36+
fail-fast: false

0 commit comments

Comments
 (0)