zed/styles/.eslintrc.js

35 lines
814 B
JavaScript
Raw Normal View History

2023-06-28 20:28:46 +00:00
module.exports = {
env: {
node: true,
2023-06-28 20:44:18 +00:00
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
2023-06-28 20:44:18 +00:00
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
2023-06-28 20:44:18 +00:00
},
plugins: ["@typescript-eslint", "import"],
2023-06-28 20:44:18 +00:00
globals: {
module: true,
2023-06-28 20:28:46 +00:00
},
settings: {
2023-06-28 20:28:46 +00:00
"import/parsers": {
"@typescript-eslint/parser": [".ts"],
2023-06-28 20:28:46 +00:00
},
"import/resolver": {
typescript: true,
node: true,
},
"import/extensions": [".ts"],
2023-06-28 20:28:46 +00:00
},
rules: {
"linebreak-style": ["error", "unix"],
2023-08-02 22:52:56 +00:00
"@typescript-eslint/no-explicit-any": "off",
semi: ["error", "never"],
},
2023-06-28 20:28:46 +00:00
}