Phase 1 PWA: prayer times, qibla, quran, hijri, tasbih, 99 names
This commit is contained in:
+42
@@ -0,0 +1,42 @@
|
||||
import ljharb from '@ljharb/eslint-config/flat';
|
||||
import ljharbTests from '@ljharb/eslint-config/flat/tests';
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: [
|
||||
'coverage',
|
||||
'.nyc_output',
|
||||
],
|
||||
},
|
||||
...ljharb,
|
||||
{
|
||||
rules: {
|
||||
eqeqeq: ['error', 'allow-null'],
|
||||
'func-style': ['error', 'declaration'],
|
||||
'id-length': [
|
||||
'error', {
|
||||
max: 24,
|
||||
min: 1,
|
||||
properties: 'never',
|
||||
},
|
||||
],
|
||||
'multiline-comment-style': 'off',
|
||||
'new-cap': [
|
||||
'error', {
|
||||
capIsNewExceptions: [
|
||||
'Get',
|
||||
'GetMethod',
|
||||
'GetV',
|
||||
'ToObject',
|
||||
],
|
||||
},
|
||||
],
|
||||
'no-extra-parens': 'off',
|
||||
'no-magic-numbers': 'off',
|
||||
},
|
||||
},
|
||||
...ljharbTests.map((c) => ({
|
||||
...c,
|
||||
files: ['test/**'],
|
||||
})),
|
||||
];
|
||||
Reference in New Issue
Block a user