mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
35 lines
814 B
JavaScript
35 lines
814 B
JavaScript
module.exports = {
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:import/typescript",
|
|
],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["@typescript-eslint", "import"],
|
|
globals: {
|
|
module: true,
|
|
},
|
|
settings: {
|
|
"import/parsers": {
|
|
"@typescript-eslint/parser": [".ts"],
|
|
},
|
|
"import/resolver": {
|
|
typescript: true,
|
|
node: true,
|
|
},
|
|
"import/extensions": [".ts"],
|
|
},
|
|
rules: {
|
|
"linebreak-style": ["error", "unix"],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
semi: ["error", "never"],
|
|
},
|
|
}
|