eslint-config-intracto
Introduction
This repository contains sample linting configs for, .js and .ts files. Currently they are all based on recommended configs, prettier and AirBnB.
How to use
Installing
To install this repo, run:
yarn global add install-peerdeps
install-peerdeps --dev "@intracto/eslint-config-intracto"
And then create a file .eslintrc.json
. Add this config if your codebase is based on VanillaJS/ES6:
{
"extends": ["@intracto/eslint-config-intracto/js"]
}
And this config if you are using TypeScript:
{
"extends": ["@intracto/eslint-config-intracto/ts"]
}