Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Commit

Permalink
fix: remove react deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Golden committed Sep 11, 2020
1 parent cf09381 commit f3048b1
Show file tree
Hide file tree
Showing 30 changed files with 437 additions and 469 deletions.
13 changes: 2 additions & 11 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,15 @@ module.exports = {
jsx: true
}
},
settings: {
react: {
version: 'detect'
}
},
extends: [
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'prettier/@typescript-eslint'
],
plugins: ['react', 'react-hooks', '@typescript-eslint'],
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'react/prop-types': 'off',
'react-hooks/exhaustive-deps': 'warn',
'react-hooks/rules-of-hooks': 'error'
'@typescript-eslint/explicit-member-accessibility': 'off'
},
overrides: [
{
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ This compresses it massively.

- Use the interactive online tool to fetch configs and flatten
- Use Webpack with `ainsley-loader` to write your config in a `.ainsley` file
- Use the Babel macro `ainsley/macro` for toolchains that don't allow Webpack
config modifications (e.g. Create React App, Next.js, Gatsby)
- Write it in JavaScript and unit test it
- Moving a project from CSS to `ainsley` - embed and gradually migrate
- Moving a project from SASS to `ainsley` - compile, embed and gradually migrate
Expand Down
2 changes: 1 addition & 1 deletion dist/ac.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f3048b1

Please sign in to comment.