Skip to content

Commit aa89b6f

Browse files
authored
feat: site language control button in authenticated learning header (#693)
* feat: site language control button in authenticated learning header * chore: lockfile * style: quality * fix: add tests and various style adjustments * style: moved files into folders * fix: moved flag check to parent component, pr comments * fix: pr comments * fix: revert unessecary change, remove unused styles
1 parent 9fd8fe3 commit aa89b6f

26 files changed

Lines changed: 1404 additions & 117 deletions

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
example
44
node_modules
55
src/lightning.js
6+
.eslintrc.js

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,24 @@ module.exports = createConfig('eslint', {
55
globals: {
66
lightningjs: true,
77
},
8+
rules: {
9+
'@typescript-eslint/no-unused-vars': [
10+
'error',
11+
{
12+
argsIgnorePattern: '^_',
13+
varsIgnorePattern: '^_',
14+
},
15+
],
16+
'react/jsx-filename-extension': [1, { extensions: ['.tsx', '.jsx'] }],
17+
'import/extensions': [
18+
'error',
19+
'ignorePackages',
20+
{
21+
js: 'never',
22+
jsx: 'never',
23+
ts: 'never',
24+
tsx: 'never',
25+
},
26+
],
27+
},
828
});

0 commit comments

Comments
 (0)