eslint-config-studentagency-next-typescript
v1.5.2
Published
Eslint Typescript rules for all SA nextjs frontend apps
Downloads
144
Readme
eslint-config-studentagency-next-typescript
Enhances SA's ESLint config with TypeScript support
Setup
1) Install dependencies (and peer dependencies)
npm install eslint-config-studentagency-next-typescript --save-dev
2) Configure ESLint
create .esclintrc
file in project root
+{
+ "extends": [
+ "eslint-config-studentagency-next-typescript"
+ ],
+ "ignorePatterns": []
+}
5) Run ESLint
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.
Additional Documentation
Credits
Authored and maintained by Vilda Lipold (dovolena.cz
License
Open source licensed as MIT.