@code-palette/eslint-config
v2.0.0
Published
Shared eslint configurations for javascript and typescript.
Downloads
5
Maintainers
Readme
@code-palette/eslint-config
Installation
npm install --save-dev @code-palette/eslint-config
Usage
const javascriptConfig = require("@code-palette/eslint-config/javascript");
const typescriptConfig = require("@code-palette/eslint-config/typescript");
module.exports = [
{
...javascriptConfig,
files: ["./src/**/*.js"],
},
{
...typescriptConfig,
files: ["./src/**/*.ts"],
},
];