File tree Expand file tree Collapse file tree
packages/configs/oxlint-config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
22// SPDX-License-Identifier: BSD-3-Clause-Clear
33
4- import { defineConfig } from "oxlint"
4+ import { defineConfig , type OxlintConfig } from "oxlint"
55
66// something like this
7- export default defineConfig ( {
7+ export const angularConfig : OxlintConfig = defineConfig ( {
88 jsPlugins : [
99 {
1010 name : "@angular-eslint" ,
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ import {
1313 type OxlintConfig ,
1414} from "oxlint"
1515
16- import { importRules } from "./internal/import"
17- import { oxcRules } from "./internal/oxc"
18- import { promiseRules } from "./internal/promise"
16+ import { importRules } from "./internal/import.js "
17+ import { oxcRules } from "./internal/oxc.js "
18+ import { promiseRules } from "./internal/promise.js "
1919
2020export const corePlugins : NonNullable < OxlintConfig [ "plugins" ] > = [
2121 "import" ,
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ const nursery: DummyRuleMap = {
113113 "react/require-render-return" : "off" ,
114114}
115115
116- export const reactRules = {
116+ export const reactRules : DummyRuleMap = {
117117 ...correctness ,
118118 ...styleRules ,
119119 ...pedantic ,
Original file line number Diff line number Diff line change 11{
2- "extends " : " @qualcomm-ui/tsconfig/tsconfig.strict.json " ,
2+ "files " : [] ,
33 "references" : [
44 {
55 "path" : " ./tsconfig.lib.json"
Original file line number Diff line number Diff line change 11{
2- "extends" : " @qualcomm-ui/tsconfig/tsconfig.strict .json" ,
2+ "extends" : " @qualcomm-ui/tsconfig/tsconfig.lib .json" ,
33 "compilerOptions" : {
44 "composite" : true ,
55 "rootDir" : " ./src" ,
You can’t perform that action at this time.
0 commit comments