- Install config with eslint and eslint plugins
npm install --save-dev \
@exabyte-io/eslint-config \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/[email protected] \
@babel/register@^7.16.0 \
@babel/[email protected] \
@typescript-eslint/[email protected] \
@typescript-eslint/[email protected] \
[email protected] \
[email protected] \
[email protected] \
eslint-import-resolver-exports@^1.0.0-beta.2 \
eslint-import-resolver-meteor@^0.4.0 \
eslint-import-resolver-node@^0.3.6 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
eslint-plugin-mui-path-imports
- Create own
.eslintrc.json
:
{
"extends": "@exabyte-io/eslint-config"
}
- Add prettier config
.prettierrc
:
{
"singleQuote": false,
"printWidth": 100,
"trailingComma": "all",
"tabWidth": 4
}