eslint-config-iamnapo

    18.0.0 • Public • Published

    eslint-config-iamnapo

    ESLint shareable config for iamnapo’s coding style

    build npm style

    Install

    npm i eslint-config-iamnapo eslint eslint-plugin-import eslint-plugin-unicorn -D

    Then, add this to your .eslintrc.js:

    module.exports = {
    	extends: "iamnapo",
    	rules: {
    		// your overrides
    	},
    };

    With React support

    npm i eslint-config-iamnapo eslint eslint-plugin-import eslint-plugin-unicorn eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks -D

    Then, add this to your .eslintrc.js:

    module.exports = {
    	extends: "iamnapo/with-react",
    	rules: {
    		// your overrides
    	},
    };

    With TypeScript support

    npm i eslint-config-iamnapo eslint eslint-plugin-import eslint-plugin-unicorn @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript -D

    Then, add this to your .eslintrc.js:

    module.exports = {
    	extends: "iamnapo/typescript",
    	rules: {
    		// your overrides
    	},
    };

    With TypeScript & React support

    npx install-peerdeps --dev eslint-config-iamnapo

    Then, add this to your .eslintrc.js:

    module.exports = {
    	extends: "iamnapo/with-react-typescript",
    	rules: {
    		// your overrides
    	},
    };

    Install

    npm i eslint-config-iamnapo

    DownloadsWeekly Downloads

    80

    Version

    18.0.0

    License

    MIT

    Unpacked Size

    9.78 kB

    Total Files

    7

    Last publish

    Collaborators

    • iamnapo