Hopefully stop lint command from erroring
This commit is contained in:
parent
7030eb8949
commit
06a553c7a4
4 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
generate_translations.js
|
generate_translations.js
|
||||||
webpack.config.js
|
webpack.config.js
|
||||||
src/api_tests
|
src/api_tests
|
||||||
|
**/*.png
|
||||||
|
**/*.css
|
||||||
|
**/*.scss
|
||||||
|
**/*.svg
|
|
@ -12,7 +12,7 @@
|
||||||
"build:prod": "webpack --mode=production",
|
"build:prod": "webpack --mode=production",
|
||||||
"clean": "yarn run rimraf dist",
|
"clean": "yarn run rimraf dist",
|
||||||
"dev": "yarn start",
|
"dev": "yarn start",
|
||||||
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx \"src/**\" && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"start": "yarn build:dev --watch"
|
"start": "yarn build:dev --watch"
|
||||||
},
|
},
|
||||||
|
|
|
@ -612,4 +612,4 @@ export class Navbar extends Component<NavbarProps, NavbarState> {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,5 +20,9 @@
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"noFallthroughCasesInSwitch": true
|
"noFallthroughCasesInSwitch": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*", "node_modules/inferno/dist/index.d.ts"]
|
"include": [
|
||||||
|
"src/**/*.ts",
|
||||||
|
"src/**/*.tsx",
|
||||||
|
"node_modules/inferno/dist/index.d.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue