chore(config): add shared tsconfig and eslint packages
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/** @type {import('eslint').Linter.Config} */
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2022: true,
|
||||
node: true
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module"
|
||||
},
|
||||
rules: {
|
||||
"no-console": "warn",
|
||||
"no-debugger": "error"
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@todolist/eslint-config",
|
||||
"version": "0.1.0",
|
||||
"description": "Shared ESLint config presets for TodoList",
|
||||
"main": "base.cjs",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"private": true,
|
||||
"files": [
|
||||
"base.cjs"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user