chore: add ESLint setup with config, ignore file, and lint script
This commit is contained in:
16
.eslintrc.js
Normal file
16
.eslintrc.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
es2021: true,
|
||||
node: true,
|
||||
jest: true
|
||||
},
|
||||
extends: "eslint:recommended",
|
||||
parserOptions: {
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module"
|
||||
},
|
||||
rules: {
|
||||
// add custom rules or overrides here, e.g.:
|
||||
// "no-console": "warn"
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user