Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/eslint-config.
Something went wrong. Try again.
Files
readme.md
Samual's ESLint Config (@samual/eslint-config) #
Use this if you want your code to look like my code.
Install #
npm install --save-dev @samual/eslint-config
Setup #
JavaScript #
.eslintrc
{
"root": true,
"extends": "@samual/eslint-config"
}
Typescript #
.eslintrc
{
"root": true,
"extends": "@samual/eslint-config",
"parserOptions": { "project": [ "./tsconfig.json", "./src/tsconfig.json" ] }
}
src/.eslintrc
{
"extends": "@samual/eslint-config/typescript.yml"
}