@ddadaal/eslint-config
My eslint config.
Since v2.0
, only eslint v9 is supported. Please stick to v1
if you cannot upgrade to eslint v9 yet.
Installation
Normal TypeScript Project
npm install -D @ddadaal/eslint-config eslint
Then create eslint.config.js
with the following content:
const base = require("@ddadaal/eslint-config");
module.exports = [
...base,
]
React
First, set up the project as a normal TypeScript project, and then
npm install -D eslint eslint-plugin-react
const base = require("@ddadaal/eslint-config");
const react = require("@ddadaal/eslint-config/react");
module.exports = [
...base,
...react
]
License
MIT