KRadio/.eslintrc.cjs
Triston Armstrong 6d5527e61c feat(all): get eslint working in neovim
It works just fine as a default in vscodium, but i couldnt get it to work in neovim. Had to do a
little messing around and it now works perfectly in neovim which is awesome and a pretty good
indication that itll work elsewhere as well.

Issue #14
2024-03-22 01:20:59 -05:00

28 lines
442 B
JavaScript

module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
"eslint:recommended",
"standard-with-typescript",
"eslint-config-prettier",
],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
}