zed/styles/.eslintrc.js
Nate Butler e30ad9109c wip
2023-06-28 16:28:46 -04:00

34 lines
785 B
JavaScript

module.exports = {
plugins: ["import"],
parser: "@typescript-eslint/parser",
parserOptions: {
sourceType: "module"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
}
}
},
rules: {
"import/no-restricted-paths": [
warn,
{
zones: [
{
"target": "./src/types/*",
"from": "./src",
"except": [
"./src/types/index.ts"
]
}
]
}
]
}
}