2.1.2 • Published 5 years ago
@sanv/eslint-config-stories-typescript v2.1.2
Eslint Storybook Configuration with Typescript Support
- Install the correct version of package, which are listed by the command:
npm install "@sanv/eslint-config-stories-typescript" --save-dev- Add next line to your .eslintrc.js:
module.exports = {
  parser: '@typescript-eslint/parser',
  plugins: ['prettier', 'react', 'jsx-a11y', '@typescript-eslint'],
  parserOptions: {
    project: './tsconfig.json',
    sourceType: 'module',
  },
  extends: [
    '@sanv/eslint-config-stories-typescript',
    'plugin:prettier/recommended',
    'prettier/react',
    'prettier/@typescript-eslint',
  ],
}2.1.2
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.2.18
5 years ago
1.2.16
5 years ago
1.2.13
5 years ago
1.2.14
5 years ago
1.2.12
5 years ago
1.2.11
5 years ago
1.2.10
5 years ago
1.2.9
5 years ago
1.2.8
5 years ago
1.2.7
5 years ago
1.2.6
5 years ago
1.2.5
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago