@clipboard-health/eslint-config
v4.15.1
Published
Our ESLint configuration.
Downloads
11,650
Readme
@clipboard-health/eslint-config
Our ESLint configuration.
Table of contents
Install
npm install -D @clipboard-health/eslint-config eslint-config-prettier prettier
Then, modify your .eslintrc.js
file:
module.exports = {
extends: ["@clipboard-health", "prettier"],
overrides: [
{
files: ["*.ts", "*.tsx", "*.js", "*.jsx"],
parserOptions: {
project: "tsconfig.lint.json",
tsconfigRootDir: __dirname,
},
},
{
files: ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
env: {
jest: true,
},
},
],
root: true,
};
Local development commands
See package.json
scripts
for a list of commands.