add eslint config

This commit is contained in:
Sacha Weatherstone 2022-09-21 19:33:07 +10:00
parent 374ef080d8
commit 9267cb5cc0
No known key found for this signature in database
GPG key ID: 7AB2D7E206124B31
2 changed files with 4 additions and 8 deletions

4
.eslintrc Normal file
View file

@ -0,0 +1,4 @@
{
"plugins": ["@docusaurus"],
"extends": ["plugin:@docusaurus/recommended"]
}

View file

@ -1,8 +0,0 @@
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: "@meshtastic/eslint-config",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["./tsconfig.json"],
},
};