@typeform/eslint-config
v7.0.5
Published
ESLint configuration for Typeform front-end projects
Readme
eslint-config-typeform
ESLint configuration for Typeform front-end projects
Install
yarn add eslint @typeform/eslint-config --devUsage
This package uses ESLint's flat config format. Create an eslint.config.js file with the following content:
import typeformConfig from '@typeform/eslint-config'
export default typeformConfigOr extend it with your own rules:
import typeformConfig from '@typeform/eslint-config'
export default [
...typeformConfig,
{
rules: {
// Your custom rules
},
},
]And run with:
yarn eslint . --fixDevelopment
This package is written in TypeScript and requires building before use:
# Install dependencies
yarn install
# Build TypeScript
yarn build
# Run tests
yarn test
# Lint
yarn lintThe prepare script automatically builds the package after yarn install.
