source: imaps-frontend/.eslintrc.cjs@ 0c6b92a

main
Last change on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100644
File size: 596 bytes
Line 
1module.exports = {
2 root: true,
3 env: { browser: true, es2020: true },
4 extends: [
5 'eslint:recommended',
6 'plugin:react/recommended',
7 'plugin:react/jsx-runtime',
8 'plugin:react-hooks/recommended',
9 ],
10 ignorePatterns: ['dist', '.eslintrc.cjs'],
11 parserOptions: { ecmaVersion: 'latest', sourceType: 'module' },
12 settings: { react: { version: '18.2' } },
13 plugins: ['react-refresh'],
14 rules: {
15 'no-unused-vars': 'warn',
16 'react/jsx-no-target-blank': 'off',
17 'react-refresh/only-export-components': [
18 'warn',
19 { allowConstantExport: true },
20 ],
21 },
22}
Note: See TracBrowser for help on using the repository browser.