c1bf193211
This is unfortunately a huge diff, but now is as good as ever to do this pending chore. - Move to prettier (v3) defaults. The only thing we tweak is the tabWidth (the default is 2, we change it to 4). - Use the prettier plugin to sort imports. We were not changing the defaults of prettier much anyway, the main thing that has changed is the switching from the overridden single quotes to the default double quotes.
14 lines
488 B
JavaScript
14 lines
488 B
JavaScript
module.exports = {
|
|
// When root is set to true, ESLint will stop looking for configuration files in parent directories.
|
|
// This is required here to ensure desktop picks the right eslint config, where this app is
|
|
// packaged as a submodule.
|
|
root: true,
|
|
extends: ["@ente/eslint-config"],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: "./tsconfig.json",
|
|
},
|
|
ignorePatterns: [".eslintrc.js"],
|
|
};
|