@geolonia/eslint-config
v0.0.7
Published
Geolonia ESLint shared configs.
Downloads
8
Readme
@geolonia/eslint-conifg
Internal ESLint config for Geolonia projects.
Usage
$ yarn add eslint @geolonia/eslint-config --dev
// .eslintrc.js
module.exports = {
exetends: ['@geolonia'],
// add `env` if required
env: {
browser: true,
node: true,
jest: true,
},
parserOptions: {
sourceType: "module", // add if "type": "module" is set in package.json
project: ['tsconfig.json'], // add if you use TypeScript in the project
}
}