-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: update angular packages to 18 versions * chore: update angular eslint packages to 18 versions * chore: update angular eslint packages to 18 versions * chore: update angular fire and firebase * chore: update angular cdk to 18 * chore: update angular to 18 in framework folder * chore: update angular to 18 in packages-smoke * chore: update angular eslint packages to 18 versions in package smoke * chore: update @schematics/angular and @angular/cdk to 18 versions in package smoke * chore: update npm packages; update lint config(use 9.*.*), fix build after angular 18 updates
- Loading branch information
Showing
16 changed files
with
32,107 additions
and
46,529 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.13.0 | ||
18.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
import rxjs from "eslint-plugin-rxjs"; | ||
import globals from "globals"; | ||
import path from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import js from "@eslint/js"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all | ||
}); | ||
|
||
export default [{ | ||
ignores: [ | ||
"src/framework/**/*", | ||
"docs/**/*", | ||
"packages-smoke/**/*", | ||
"tools/dev-schematics/*/files", | ||
], | ||
}, ...compat.extends( | ||
"plugin:@angular-eslint/recommended", | ||
"plugin:@angular-eslint/template/process-inline-templates", | ||
"eslint-config-prettier", | ||
).map(config => ({ | ||
...config, | ||
files: ["**/*.ts"], | ||
})), { | ||
files: ["**/*.ts"], | ||
|
||
plugins: { | ||
rxjs, | ||
}, | ||
|
||
languageOptions: { | ||
ecmaVersion: 5, | ||
sourceType: "script", | ||
|
||
parserOptions: { | ||
project: ["tsconfig.json", "e2e/tsconfig.json"], | ||
createDefaultProgram: true, | ||
}, | ||
}, | ||
|
||
rules: { | ||
quotes: "off", | ||
"dot-notation": "off", | ||
"no-restricted-globals": ["error", "fit", "fdescribe"], | ||
"@typescript-eslint/dot-notation": "error", | ||
"no-shadow": "off", | ||
"@typescript-eslint/no-shadow": "error", | ||
"no-underscore-dangle": "off", | ||
"@typescript-eslint/consistent-type-definitions": "error", | ||
|
||
"rxjs/no-unsafe-takeuntil": ["error", { | ||
allow: [ | ||
"count", | ||
"defaultIfEmpty", | ||
"endWith", | ||
"every", | ||
"finalize", | ||
"finally", | ||
"isEmpty", | ||
"last", | ||
"max", | ||
"min", | ||
"publish", | ||
"publishBehavior", | ||
"publishLast", | ||
"publishReplay", | ||
"reduce", | ||
"share", | ||
"shareReplay", | ||
"skipLast", | ||
"takeLast", | ||
"throwIfEmpty", | ||
"toArray", | ||
], | ||
}], | ||
}, | ||
}, ...compat.extends("plugin:@angular-eslint/template/recommended", "eslint-config-prettier").map(config => ({ | ||
...config, | ||
files: ["**/*.html"], | ||
})), { | ||
files: ["**/*.html"], | ||
rules: {}, | ||
}, { | ||
files: ["./*.js"], | ||
|
||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
}, | ||
|
||
ecmaVersion: 11, | ||
sourceType: "commonjs", | ||
}, | ||
}]; |
Oops, something went wrong.