Skip to content

refactor: Unify eslint config, convert to flat configs and update plugins (WIP) #30892

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

Open
wants to merge 122 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
228246c
remove eslint-plugin-dev
cacieprins Jan 14, 2025
7f3c67e
more fully remove eslint dev pkg
cacieprins Jan 14, 2025
920e1c7
use updated eslint for ./scripts
cacieprins Jan 14, 2025
00f1243
use new eslint for cli
cacieprins Jan 14, 2025
7c30ac8
npm/angular linting
cacieprins Jan 14, 2025
0a7039b
cypress-schematic eslint
cacieprins Jan 14, 2025
3f44b01
eslint for npm/grep
cacieprins Jan 14, 2025
6d821ab
npm/mount-utils
cacieprins Jan 14, 2025
57a038d
npm/puppeteer
cacieprins Jan 14, 2025
32ebb37
some global cfg
cacieprins Jan 14, 2025
ed49878
npm/react
cacieprins Jan 14, 2025
0749dbe
npm/svelte
cacieprins Jan 14, 2025
4c15d08
npm/vite-dev-server
cacieprins Jan 14, 2025
9433e5d
npm/vite-plugin-cypress-esm
cacieprins Jan 14, 2025
fe99b9f
adds react linting to npm/react
cacieprins Jan 14, 2025
d9c2439
npm/vue
cacieprins Jan 14, 2025
5205963
npm/webpack-batteries-included-preprocessor
cacieprins Jan 14, 2025
5be93e7
npm/webpack-dev-server
cacieprins Jan 14, 2025
1b1862a
npm/webpack-preprocessor
cacieprins Jan 14, 2025
7ce76db
use stylistic for ./scripts
cacieprins Jan 14, 2025
2ac9889
npm/angular with styles
cacieprins Jan 14, 2025
53d7cab
npm/cypress-schematic stylistic
cacieprins Jan 14, 2025
8c866c1
npm/grep stylistic
cacieprins Jan 14, 2025
d4d0637
npm/mount-utils stylistic
cacieprins Jan 14, 2025
77f38fc
npm/puppeteer stylistic
cacieprins Jan 14, 2025
c62768e
npm/react stylistic
cacieprins Jan 14, 2025
fb74c93
npm/svelte stylistic
cacieprins Jan 14, 2025
a0ea82b
adds back some restricted properties and syntax
cacieprins Jan 14, 2025
c34babc
npm/vite-dev-server stylistic
cacieprins Jan 14, 2025
58a38ac
npm/vite-plugin-cypress-esm stylistic
cacieprins Jan 14, 2025
816ba0d
npm/vue stylistic
cacieprins Jan 14, 2025
124ad49
npm/webpack-batteries-included stylistic
cacieprins Jan 14, 2025
3cb0c44
npm/webpack-dev-server stylistic
cacieprins Jan 14, 2025
9d84f3d
npm/webpack-preprocessor stylistic
cacieprins Jan 14, 2025
27797d0
cli stylistic
cacieprins Jan 14, 2025
d7bac78
new linting for packages/app
cacieprins Jan 14, 2025
6434772
remove conflicting old eslintrc from app
cacieprins Jan 15, 2025
eed56c0
lint fix for packages/config
cacieprins Jan 15, 2025
d035fa9
redundant rules in puppeteer
cacieprins Jan 15, 2025
8ba5ccb
eslint for packages/data-context
cacieprins Jan 15, 2025
b664d1b
eslint for packages/driver
cacieprins Jan 15, 2025
007aae2
eslint cleanup general
cacieprins Jan 15, 2025
85be136
packages/electron
cacieprins Jan 15, 2025
e2ed779
packages/errors
cacieprins Jan 15, 2025
abf276f
packages/example
cacieprins Jan 15, 2025
45184c0
rm
cacieprins Jan 15, 2025
93fb014
packages/extension
cacieprins Jan 15, 2025
2869f9a
basic linting for packages/frontend-shared
cacieprins Jan 15, 2025
df20017
basic graphql schema linting
cacieprins Jan 15, 2025
77b113e
eslint for packages/graphql
cacieprins Jan 15, 2025
7b7fb97
some cleanup
cacieprins Jan 15, 2025
1228a72
packages/https-proxy
cacieprins Jan 15, 2025
b79bf01
packages/icons
cacieprins Jan 15, 2025
bcbb78b
packages/launcher
cacieprins Jan 15, 2025
8529b72
packages/launchpad
cacieprins Jan 15, 2025
1c577fc
further restrict launchpad eslint to reduce impact of slow vue linting
cacieprins Jan 15, 2025
cbb673b
packages/net-stubbing
cacieprins Jan 15, 2025
3cb0ba1
packages/network
cacieprins Jan 15, 2025
8c1f83f
packages/packherd-require
cacieprins Jan 15, 2025
ad4bb60
packages/proxy
cacieprins Jan 15, 2025
92e192b
packages/reporter
cacieprins Jan 15, 2025
5c06e17
packages/resolve-dist
cacieprins Jan 15, 2025
d70180b
packages/rewriter
cacieprins Jan 15, 2025
a98c2bd
packages/runner
cacieprins Jan 15, 2025
ddbe9a9
packages/scaffold-config
cacieprins Jan 15, 2025
925955f
packages/server
cacieprins Jan 15, 2025
9b12088
packages/socket
cacieprins Jan 15, 2025
ecbe1f0
packages/telemetry
cacieprins Jan 15, 2025
32d1009
rm old eslintrc
cacieprins Jan 15, 2025
02f9730
packages/ts
cacieprins Jan 15, 2025
23dff45
packages/types
cacieprins Jan 15, 2025
08e1227
packages/v8-snapshot-require
cacieprins Jan 15, 2025
0d450bd
packages/web-config
cacieprins Jan 15, 2025
f174d7c
system-tests
cacieprins Jan 15, 2025
10bdd9f
tooling/electron-mksnapshot
cacieprins Jan 15, 2025
7d48750
rm old eslintrc
cacieprins Jan 15, 2025
643e17c
tooling/packherd
cacieprins Jan 15, 2025
ca7441a
tooling/v8-snapshot
cacieprins Jan 15, 2025
add6226
delete unnecessary eslintrc.json
cacieprins Jan 15, 2025
3e35bce
fix mount-utils eslint config
cacieprins Jan 15, 2025
7b44b56
fix webpack-preprocessor eslint.config.ts
cacieprins Jan 15, 2025
63a0d72
fix puppeteer eslint
cacieprins Jan 15, 2025
2e14154
fix svelte eslint config
cacieprins Jan 15, 2025
9462fc5
fix vite-plugin-cypress-esm eslint config
cacieprins Jan 15, 2025
b264d90
grep eslint fix
cacieprins Jan 15, 2025
1d1d61c
fix webpack-batteries eslint config
cacieprins Jan 15, 2025
9ec71b5
fix schematic
cacieprins Jan 15, 2025
ce4bbc8
fix vue eslint config
cacieprins Jan 15, 2025
515fb78
fix vite-dev-server eslint
cacieprins Jan 15, 2025
3d141fb
fix padding in cli
cacieprins Jan 15, 2025
3115ed7
fix npm/react
cacieprins Jan 15, 2025
2fdc396
fix lint in packages/config
cacieprins Jan 16, 2025
be425ab
fix lint for npm/webpack-dev-server
cacieprins Jan 16, 2025
09582b4
fix packages/electron
cacieprins Jan 16, 2025
0845c5c
fix extension
cacieprins Jan 16, 2025
ef293d4
eslint fixes for runner
cacieprins Jan 16, 2025
1dc3f65
set some react rules to warn
cacieprins Jan 16, 2025
2748955
fixes packages/driver
cacieprins Jan 16, 2025
f03c6ae
disable inapplicable react rules
cacieprins Jan 16, 2025
6f5340c
fix frontend-shared
cacieprins Jan 16, 2025
f4f5148
add class= back in
cacieprins Jan 16, 2025
f968f74
react rules do not apply to vue component tests
cacieprins Jan 16, 2025
4d1a034
fix whitespace in tooling/packherd
cacieprins Jan 16, 2025
69e6d51
data-context and internal scripts
cacieprins Jan 16, 2025
c965691
app eslint fixes
cacieprins Jan 16, 2025
1206812
final pass fixes for check-ts and lint
cacieprins Jan 16, 2025
4afc395
Merge branch 'develop' into eslint-stylistic
cacieprins Jan 16, 2025
4f6d36f
fix sorting in root package json, add (?does it work?) json eslint pl…
cacieprins Jan 16, 2025
6be9cd0
remove unused `path` identifier in root eslint.config.ts
cacieprins Jan 16, 2025
36b8655
expound on eslint methodology in CONTRIBUTING.md
cacieprins Jan 16, 2025
b2a7e3e
use prettier for json files, use prettier-package-json for package.js…
cacieprins Jan 21, 2025
09e07a4
Merge branch 'develop' into eslint-stylistic
cacieprins Jan 21, 2025
66b69a2
Update package.json
cacieprins Jan 21, 2025
3a27427
ignore .d.ts files in system-tests
cacieprins Jan 21, 2025
9f30b85
ignore validations in system tests
cacieprins Jan 22, 2025
2d745d8
Merge branch 'develop' into eslint-stylistic
cacieprins Mar 14, 2025
68cdad7
update lock
cacieprins Mar 14, 2025
b49126b
start moving baseConfig to @tooling/eslint-config
cacieprins Feb 18, 2025
cd60bfc
declare dependency on eslint-config
cacieprins Feb 19, 2025
506b08d
use eslint-config in tooling/scripts
cacieprins Feb 19, 2025
683353c
system tests - import rules and new baseconfig
cacieprins Feb 19, 2025
80c2613
WIP: import-x defaults
cacieprins Mar 17, 2025
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
Prev Previous commit
Next Next commit
cypress-schematic eslint
  • Loading branch information
cacieprins committed Jan 14, 2025
commit 0a7039bc0ba1f9fb3218d364642bb403074291a2
5 changes: 0 additions & 5 deletions npm/cypress-schematic/.eslintignore

This file was deleted.

16 changes: 0 additions & 16 deletions npm/cypress-schematic/.eslintrc

This file was deleted.

7 changes: 7 additions & 0 deletions npm/cypress-schematic/eslint-tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"include": [
"src/**/*"
],
"exclude": ["!src/**/files-core/**/*", "!src/**/files-ct/**/*", "!src/**/*.spec.ts"]
}
23 changes: 23 additions & 0 deletions npm/cypress-schematic/eslint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { baseConfig } from '../../eslint.config'
import globals from 'globals'
import path from 'path'

export default [
...baseConfig,
{
ignores: ['src/**/*.{js,js.map,d.ts}', 'src/schematics/cypress/files/cypress/plugins/*.js']
},
{
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ['eslint.config.ts', 'projects/sandbox/src/fake-component.component.ts']
},
project: './tsconfig.json',
},
globals: {
...globals.node,
}
}
}
]
3 changes: 1 addition & 2 deletions npm/cypress-schematic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@
"target": "es6",
"types": [
"node"
]
],
},
"include": [
"src/**/*"
],
"exclude": ["src/**/files-core/**/*", "src/**/files-ct/**/*", "src/**/*.spec.ts"]
}
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy