Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to flat config format #609

Merged
merged 37 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5d73594
revert to config file using new flat config format
spaceninja Nov 12, 2024
d78c4d2
2.0.0-alpha.0
spaceninja Nov 12, 2024
6b9ad00
fix package name
spaceninja Nov 12, 2024
cc971da
2.0.0-alpha.1
spaceninja Nov 12, 2024
c713ff3
update readme
spaceninja Nov 12, 2024
cdeaa87
add globals
spaceninja Nov 12, 2024
8843460
add node plugin
spaceninja Nov 12, 2024
1645f31
2.0.0-alpha.2
spaceninja Nov 12, 2024
a090c20
trying something
spaceninja Nov 12, 2024
2b83141
2.0.0-alpha.3
spaceninja Nov 12, 2024
53120db
add more plugins
spaceninja Nov 12, 2024
2ad1513
2.0.0-alpha.4
spaceninja Nov 12, 2024
4b72441
disable stylistic rules
spaceninja Nov 13, 2024
e614455
2.0.0-alpha.5
spaceninja Nov 13, 2024
fc93e72
add rules
spaceninja Nov 13, 2024
91f3865
update globals
spaceninja Nov 13, 2024
314c440
2.0.0-alpha.6
spaceninja Nov 13, 2024
6c23c09
updated stylistic rules
spaceninja Nov 13, 2024
8e773f9
2.0.0-alpha.7
spaceninja Nov 13, 2024
2880934
add custom rule
spaceninja Nov 13, 2024
1c016e4
2.0.0-alpha.8
spaceninja Nov 13, 2024
3c9772d
better match existing config
spaceninja Nov 13, 2024
766d0cc
2.0.0-alpha.9
spaceninja Nov 13, 2024
002312b
add TS configs
spaceninja Nov 13, 2024
8810dcd
2.0.0-alpha.10
spaceninja Nov 13, 2024
a98d1ea
simplify TS config
spaceninja Nov 14, 2024
4bc9206
2.0.0-alpha.11
spaceninja Nov 14, 2024
4d6c334
standardize import naming
spaceninja Nov 14, 2024
e85ae09
update docs
spaceninja Nov 14, 2024
26d9fce
update ci name
spaceninja Nov 14, 2024
044acf5
better comment
spaceninja Nov 14, 2024
ca13b87
reduce diff
spaceninja Nov 14, 2024
71a7178
oops
spaceninja Nov 14, 2024
53b12b5
move to right directory
spaceninja Nov 14, 2024
d073f2b
2.0.0-alpha.12
spaceninja Nov 14, 2024
ca58850
restore changelog, bump version
spaceninja Nov 14, 2024
0b353c6
24.0.0-alpha.13
spaceninja Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/config.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-mugs-shake.md

This file was deleted.

9 changes: 7 additions & 2 deletions .editorconfig
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates to the editorconfig. 👍🏽

Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
root = true

[*]
indent_style = space
indent_style = tab
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
trim_trailing_whitespace = false

# YAML files cannot have tabs
# @see https://yaml.org/faq.html
[*.yml]
indent_style = space
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

27 changes: 9 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,17 @@ concurrency:
cancel-in-progress: true

jobs:
lint:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v3
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
node-version: 'lts/*'
cache: 'npm'
- name: Install Dependencies
run: npm ci && npm link && npm link @cloudfour/eslint-plugin
- name: Run Build
run: npm run build
run: npm ci
- name: Run Lint
run: npm run check-lint
run: npm run lint:check
36 changes: 0 additions & 36 deletions .github/workflows/release.yml

This file was deleted.

5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
node_modules
/dist/*.js
.vscode/
/fixtures/repos
/tmp-eslint-config
.vscode
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

28 changes: 14 additions & 14 deletions .renovaterc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"extends": ["config:base", ":automergeMinor"],
"reviewers": ["team:dev"],
"dependencyDashboard": true,
"stabilityDays": 4,
"packageRules": [
{
"matchDepTypes": ["dependencies"],
"rangeStrategy": "bump"
},
{
"matchPackagePatterns": ["eslint"],
"automerge": false
}
]
"extends": ["config:base", ":automergeMinor"],
"reviewers": ["team:dev"],
"dependencyDashboard": true,
"stabilityDays": 4,
"packageRules": [
{
"matchDepTypes": ["dependencies"],
"rangeStrategy": "bump"
},
{
"matchPackagePatterns": ["eslint"],
"automerge": false
}
]
}
Loading