Licence
MIT
Version
1.10.0
Deps
4
Size
3 kB
Vulns
0
Weekly
0
Explain
This project uses parser "@typescript-eslint/parser"
And plugin "@typescript-eslint".
Inherits "typescript", "manpacker"
Install
Rely on "eslint", "typescript"
npm install eslint typescript eslint-config-manpacker-typescript -D
Usage
- Add
.eslintrcfile to your project.
Or.eslintrcfile does not exist, Create a new file.
npx eslint --init
Configuration content of file.
{
"extends": ["manpacker-typescript"]
}
- You can add a configuration entry to the
package.jsonfile as follows.
"eslintConfig": {
"extends": ["manpacker-typescript"]
}
Refer to the following configuration.
Example:
"eslintConfig": {
"root": true,
"extends": ["manpacker-typescript"],
"parserOptions": {
"project": "./tsconfig.json",
},
"rules": {}
}