We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add, besides the Airbnb rules, another popular set of rules from Sindre Sorhus.
/* eslint-disable global-require */ /** * @type {import('eslint').ESLint.Options} */ module.exports = { extends: [ 'eslint-config-ns-ts', // @see https://nextjs.org/docs/basic-features/eslint 'plugin:@next/next/core-web-vitals', 'plugin:@next/next/recommended', 'plugin:storybook/recommended', // @see https://github.com/sindresorhus/eslint-plugin-unicorn 'plugin:unicorn/recommended', ], plugins: ['graphql', 'lodash-tree-shakeable-import', 'unicorn'], rules: { 'unicorn/filename-case': [ 'error', { cases: { camelCase: true, kebabCase: true, pascalCase: true, }, }, ], 'unicorn/no-null': 'off', 'unicorn/no-array-callback-reference': 'off', 'unicorn/prefer-module': 'off', 'unicorn/prevent-abbreviations': 'off', // 'consistent-return': ['error', { treatUndefinedAsUnspecified: true }], }, }
The text was updated successfully, but these errors were encountered:
natterstefan
No branches or pull requests
Feature Request
Add, besides the Airbnb rules, another popular set of rules from Sindre Sorhus.
Links
Example Config
The text was updated successfully, but these errors were encountered: