forked from BibliothecaDAO/realms-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
29 lines (27 loc) · 910 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/**
* Specific eslint rules for this app/package, extends the base rules
* @see https://github.com/belgattitude/nextjs-monorepo-example/blob/main/docs/about-linters.md
*/
const {
getDefaultIgnorePatterns,
} = require('@bibliotheca-dao/eslint-config-bases/helpers');
module.exports = {
root: true,
ignorePatterns: [...getDefaultIgnorePatterns()],
extends: [
'@bibliotheca-dao/eslint-config-bases/typescript',
'@bibliotheca-dao/eslint-config-bases/sonar',
'@bibliotheca-dao/eslint-config-bases/regexp',
'@bibliotheca-dao/eslint-config-bases/jest',
'@bibliotheca-dao/eslint-config-bases/rtl',
'@bibliotheca-dao/eslint-config-bases/react',
// Apply prettier and disable incompatible rules
'@bibliotheca-dao/eslint-config-bases/prettier',
],
rules: {
// optional overrides per project
},
overrides: [
// optional overrides per project file match
],
};