@deity/eslint-config-falcon
This package provides a handy set of default rules.
It's used in 2 files in both server
and client
.
client/.eslintrc
&server/.eslintrc
client/prettier.config.js
&server/prettier.config.js
.eslintrc
{
"extends": ["@deity/eslint-config-falcon"],
"env": {
"worker": true
}
}
prettier.config.js
const esLint = require('@deity/eslint-config-falcon');
module.exports = Object.assign({}, esLint.rules['prettier/prettier'][1], {
overrides: [
{
files: ['.eslintrc'],
options: { parser: 'json' }
}
]
});