1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 00:35:00 +00:00
mon-entreprise/publicode/rules.js
2020-02-05 14:30:54 +01:00

29 lines
980 B
JavaScript

// Currenty we systematically bundle all the rules even if we only need a
// sub-section of them. We might support "code-splitting" the rules in the
// future.
import artisteAuteur from './rules/artiste-auteur.yaml'
import base from './rules/base.yaml'
import conventionsCollectives from './rules/conventions-collectives.yaml'
import dirigeant from './rules/dirigeant.yaml'
import entrepriseEtablissement from './rules/entreprise-établissement.yaml'
import impot from './rules/impôt.yaml'
import protectionSociale from './rules/protection-sociale.yaml'
import salarié from './rules/salarié.yaml'
import situationPersonnelle from './rules/situation-personnelle.yaml'
const rules = {
...base,
// TODO: rule order shouldn't matter but there is a bug if "impot" is after
// "dirigeant".
...impot,
...artisteAuteur,
...dirigeant,
...entrepriseEtablissement,
...protectionSociale,
...salarié,
...conventionsCollectives,
...situationPersonnelle
}
export default rules