Enhances SA's ESLint config with TypeScript support
npm install eslint-config-studentagency-next-typescript --save-dev
create .esclintrc
file in project root
+{
+ "extends": [
+ "eslint-config-studentagency-next-typescript"
+ ],
+ "ignorePatterns": []
+}
Open a terminal to the root of your project, and run the following command:
npx eslint . --ext .ts,.tsx --color
or
npx eslint . --ext ts --ext tsx --color
ESLint will lint all .js, .jsx, .ts, and .tsx files within the current folder, and output results to your terminal.
You can also get results in realtime inside most IDEs via a plugin.
Authored and maintained by Vilda Lipold (dovolena.cz
Open source licensed as MIT.