mirror of
https://github.com/usatiuk/writer.git
synced 2025-10-28 16:07:49 +01:00
37 lines
938 B
JavaScript
37 lines
938 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint", "prettier", "import"],
|
|
extends: [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier/@typescript-eslint",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:import/typescript"
|
|
],
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module"
|
|
},
|
|
"settings": {
|
|
"import/parsers": {
|
|
"@typescript-eslint/parser": [".ts", ".tsx"]
|
|
},
|
|
"import/resolver": {
|
|
"typescript": {
|
|
"alwaysTryTypes": true,
|
|
"project": [
|
|
"./tsconfig.json",
|
|
"./frontend/tsconfig.json"
|
|
]
|
|
},
|
|
}
|
|
}
|
|
|
|
};
|