mirror of
https://github.com/hanzoai/azure-sdk-for-js.git
synced 2026-10-30 19:51:51 +00:00
- remove react-native config - use config/tsconfig* - new/updated eslint.config.mjs ***NO_CI***
26 lines
705 B
JavaScript
26 lines
705 B
JavaScript
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";
|
|
|
|
export default [
|
|
...azsdkEslint.config([
|
|
{
|
|
rules: {
|
|
"@azure/azure-sdk/ts-modules-only-named": "warn",
|
|
"@azure/azure-sdk/ts-package-json-types": "warn",
|
|
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
|
|
"@azure/azure-sdk/ts-package-json-files-required": "off",
|
|
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
|
|
"tsdoc/syntax": "warn",
|
|
},
|
|
},
|
|
]),
|
|
{
|
|
files: ["src/**/*.ts", "src/**/*.mts", "test/**/*.ts"],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: false,
|
|
project: "./config/tsconfig.lint.json",
|
|
},
|
|
},
|
|
},
|
|
];
|