zed/styles/.eslintrc.js

34 lines
761 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"],
semi: ["error", "never"],
},
2023-06-28 23:28:46 +03:00
}