Skip to content

Commit

Permalink
tsukota: Add eslint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Jun 15, 2023
1 parent d232f8c commit 8c57919
Show file tree
Hide file tree
Showing 3 changed files with 1,936 additions and 112 deletions.
39 changes: 39 additions & 0 deletions packages/tsukota/.eslintrc.json
@@ -0,0 +1,39 @@
{
"root": true,
"env": {
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/strict",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["tsconfig.json", "tsconfig.dev.json"],
"sourceType": "module"
},
"ignorePatterns": ["/lib/**/*"],
"plugins": ["@typescript-eslint", "import"],
"settings": {
"import/ignore": ["react-native"]
},
"rules": {
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"import/no-unresolved": "off",
"operator-linebreak": "off",
"require-jsdoc": "off"
}
}

0 comments on commit 8c57919

Please sign in to comment.