Configure ESLint
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
extends: "../.eslintrc.json",
|
||||
parserOptions: {
|
||||
project: './tsconfig.json',
|
||||
tsconfigRootDir: __dirname,
|
||||
},
|
||||
}
|
||||
@@ -19,6 +19,8 @@
|
||||
"clean": "rimraf dist",
|
||||
"format": "prettier --write '**/*.ts'",
|
||||
"format-check": "prettier --check '**/*.ts'",
|
||||
"lint": "eslint src/**/*.ts",
|
||||
"lint-fix": "eslint --fix src/**/*.ts",
|
||||
"start": "webpack-dev-server --mode development --open",
|
||||
"test": "exit 0",
|
||||
"watch": "webpack --watch --mode development --env esbuild"
|
||||
@@ -34,4 +36,4 @@
|
||||
"webpack-cli": "^5.0.1",
|
||||
"webpack-dev-server": "^4.11.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user