zed/styles/.eslintrc.js

35 lines
814 B
JavaScript
Raw Normal View History

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