25 lines
543 B
JavaScript
25 lines
543 B
JavaScript
module.exports = {
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
project: "tsconfig.json",
|
|
tsconfigRootDir: __dirname,
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["@typescript-eslint/eslint-plugin"],
|
|
extends: ["plugin:@typescript-eslint/strict", "plugin:prettier/recommended"],
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
jest: true,
|
|
},
|
|
ignorePatterns: [".eslintrc.js", "dist/", "node_modules/", "build/"],
|
|
rules: {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
endOfLine: "auto",
|
|
},
|
|
],
|
|
},
|
|
};
|