Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit e20fd08

Browse files
committed
fixed lint command
1 parent 3798312 commit e20fd08

File tree

3 files changed

+1422
-418
lines changed

3 files changed

+1422
-418
lines changed

.eslintignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ node_modules
44
jest.config.js
55
jest.base.config.js
66
scripts/
7-
examples/
7+
examples/
8+
9+
# Ignore the templates (because otherwise it will try to lint with the eslint config of these packages)
10+
cra-template-agile-typescript/
11+
cra-template-agile/

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ module.exports = {
1515
'plugin:@typescript-eslint/recommended',
1616
'prettier',
1717
],
18+
plugins: ['@typescript-eslint', 'prettier'],
1819
parser: '@typescript-eslint/parser',
1920
parserOptions: {
2021
allowImportExportEverywhere: true,
2122
ecmaVersion: 12,
2223
sourceType: 'module',
2324
},
24-
plugins: ['@typescript-eslint', 'prettier'],
25+
ignorePatterns: ['.eslintrc.js'],
2526
rules: {
2627
'func-names': OFF,
2728
'@typescript-eslint/no-explicit-any': OFF,

0 commit comments

Comments
 (0)